Article View: adobe.scripting.indesign
Article #8958Re: XML Export
From: Dave_Saunders
Date: Sat, 16 Sep 2006 12:10
Date: Sat, 16 Sep 2006 12:10
7 lines
1287 bytes
1287 bytes
I believe from the point of view of XML, pages are arbitrary. You can't tag a page as an element; it's an arbitrary presentation thing. What you can do is tag the top level element on each page (assuming your document is structured in that way), and then export each of those elements. That I think will achieve what you want. I'm basing this on reading the object model, not practical experience. But if you look on page 1221 of the Scripting Reference you'll see that exportFile is available for XMLelements, so if you have organized your tags in a way that facilitates working with the content "a page at a time" then that should do it for you. Dave
Technical Details
Message-ID:
<3bc1a25e.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news.isoc.lu!webcrossingReferences:
<3bc1a25e.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,34db7ffeb087eeca X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: XML Export Message-ID: <3bc1a25e.1@webcrossing.la2eafNXanI> Date: Sat, 16 Sep 2006 05:10:33 -0700 References: <3bc1a25e.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit