Article View: adobe.scripting.indesign
Article #20005Re: Access XML to InDesign
From: Brian C. Carter
Date: Tue, 12 Nov 2002 14:38
Date: Tue, 12 Nov 2002 14:38
24 lines
1758 bytes
1758 bytes
Congratulate me! I wrote my first Script!
Well, Ole did, but I found it on the board and copied it and ran it and it worked, it's the image placing script and it's a good step in the right direction.
Ben, would you be able to post or email me a sample of that script? I'm learning, but slowly and an example of all the right commands would really help I think.
As far as importing, this is how it is set up:
<item>
<name>Item Name</name>
<casepk>Case Pack</casepk>
<dimensions>dimensions</dimensions>
</item>
and I want it to format like this:
ITEM NAME
Case Pack (bullet) Dimensions
I tag the entire frame as "item" and then placeholder text within the frame as their respective elements. When I import XML it adds a hard return before the Item Name and puts the Case Pack and Bullets right next to each other.
Ugh, I ate too many cookies for breakfast and now i feel sick and can't sit still.
Thanks a lot you guys, you're really helping me out here.
Brian
Technical Details
Message-ID:
<1de64ec5.13@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de64ec5.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b83a840c6f64a088 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-12 07:20:07 PST From: "Brian C. Carter" <brian@samardist.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newspump.sol.net!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Access XML to InDesign Message-ID: <1de64ec5.13@WebX.la2eafNXanI> Date: Tue, 12 Nov 2002 06:38:05 -0800 References: <1de64ec5.-1@WebX.la2eafNXanI> Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit