Article View: adobe.scripting.indesign
Article #18286Re: Can InDe & XML do this?
From: scottsa
Date: Tue, 15 Apr 2003 07:15
Date: Tue, 15 Apr 2003 07:15
17 lines
2200 bytes
2200 bytes
Am I missing something or am I expecting too much. I fully realize this may also fall under the "dumb question" category... but here it goes: I have created a very simple template with three boxes and three sentences, one in each box. I created a tag for each box and sentence to simulate three para's in three boxes. I exported the contents as XML and modified the exported sentences (very creative too "This is sentence one" etc.) so that when re-imported I knew the content placed properly. This process works fine and everything fell where it should. Now, my application requires that I generate over 100 pages. So I take the XML export and duplicate some of the material and modify its content, careful to preserve the tags/structure. Upon new import, InDe will not create extra text boxes to match the extra tags nor will it create extra pages. It will simply populate any apropriately tagged text-frames on the given pages. If I add more frames on new pages, content updates just fine. Excess simply shows up in the document structure window. Am I really missing something or do I need to fire up VB and start iterating the doc-structure, adding the necessary frames for graphics and text (and also applying the character-level formatting). Thoughts and suggestions are greatly appreciated. S. PS. In my experience, I would be faster to iterate the XML externally and drive InDe than to read the next tag from InDe and direct the layout. Styled text would be faster here too...
Technical Details
Message-ID:
<1de8b9ea.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8b9ea.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,7e2c6ce5eae7f50f X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-15 00:40:28 PST From: scottsa <scott@rscorp.ab.ca> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Can InDe & XML do this? Message-ID: <1de8b9ea.1@WebX.la2eafNXanI> Date: Tue, 15 Apr 2003 00:15:37 -0700 References: <1de8b9ea.-1@WebX.la2eafNXanI> Lines: 33 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit