🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2591

Import XML into IDCS2

#2591
From: Sarah_Mosher
Date: Thu, 11 Dec 2008 18:22
7 lines
1668 bytes
Hi all, I help produce Directory books. The contact information for the content of the directories is in a database. We've set up the database to export a very clean XML file. I have also set up IDCS2 (on windows XP platform) to map these XML tags to styles. In our test files, it worked very nicely and all the formatting of the XML information was completely automatic.

Here's the problem: Our test files were rather small - one or two entries just to make sure all the tags worked. When we export all of the necessary information from our database, the XML file is roughly 3,000 lines long. IDCS2 can't seem to import more than 145 lines at one time. I get an error box that pops up and says "Expected End of Tag 'data'" (we are using 'data' instead of 'root' to encompass all the info, but the same error pops up either way).

The only way around this I have found is to break the XML file down into much smaller portions, which would be more hassle than it's worth. Does someone have a better solution or know why this is happening?

Much thanks.
Technical Details
Message-ID: <59b73ead.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7e7bcc0036cbf3af,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Sarah_Mosher@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Import XML into IDCS2
Message-ID: <59b73ead.-1@webcrossing.la2eafNXanI>
Date: Thu, 11 Dec 2008 10:22:35 -0800
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit