🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8510

Importing/exporting XML to/from InDesign/database with InDesign index markers included both ways

#8510
From: vibeke_beck
Date: Fri, 06 Oct 2006 14:55
28 lines
2721 bytes
First of all: I am just a user with a problem, not a nerd, so please don't tell me to RTFM.
If You can help me, please spell it out. Hopefully I can explain what my problem is in the following. And I am Danish, so I also need a little patience regarding my English.
I have already tried to find an answer in the userforums and manuals, without success so far.

I am the happy owner of Adobe Creative Suite Premium (trying to find the money needed for upgrading to CS2).

Here we go:
Is it possible generating an XML-file from a database for import to InDesign, that is, an XML-file containing XML-tags for styling and including Indesign index markers in specific XML-tags? And is it possible exporting similarly with changes to the database, still with the Indesign index markers intact, and then import once more?

As it is now, import/export with XML-tags and styling in InDesign works very well. No problem in that area. It is the Indesign index markers I can't figure out. So far I am aware that some scripting will be involved, but I really need some help figuring that out.

Example:

<fo>Forfatter:</fo> <fonavn>John Johnson</fonavn>
<me>Medvirkende:</me> <menavn>Mark Smith</menavn>, <menavn>Julie Hanson</menavn>

The <fo>-tag and the <me>-tag is just for styling. No index marker needed.
The <fonavn>-tag and the <menavn>-tag are for styling and if possible attached an index marker when generated to an xml-file from the database.
The <fonavn>-tag and the <menavn>-tag appears several times, but with a different name each time. Also the index marker should list lastname first, that is "Johnson, John" and so forth.
The <fonavn>-tag and the <menavn>-tag are not the only tags to be indexed. There are seven different tags to index, each consisting of several different names.

How can I make that happen?

I hope some of You out there can help me.
For ever grateful!
And I am sorry if this topic is a "oh no, not again"-topic.

beebee-denmark
Technical Details
Message-ID: <3bc1e464.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.x-privat.org!spool.x-privat.org!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,f366a4c438d065ae
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: vibeke_beck@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Importing/exporting XML to/from
 InDesign/database with InDesign index markers
 included both ways
Message-ID: <3bc1e464.-1@webcrossing.la2eafNXanI>
Date: Fri, 6 Oct 2006 07:55:18 -0700
Lines: 47
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.x-privat.org!spool.x-privat.org!webcrossing