🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20274

AS: finding elements in xml structure

#20274
From: matt b2
Date: Fri, 02 Aug 2002 18:50
1 lines
1019 bytes
i'm new to applescript. i'm bringing a rather complex xml file into indesign  and i need to find when an element has a certain name and then create an textfield accordingly. my question is how do i find these elements by name when they may be nested several levels deep in the xml?
Technical Details
Message-ID: <ef9ff5b.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!diablo.theplanet.net!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f9bb584fc7851688,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-08-02 12:12:51 PST
From: "matt b2" <tim@tim.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!diablo.theplanet.net!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS: finding elements in xml structure
Message-ID: <ef9ff5b.-1@WebX.aaQKaf7vad4>
Date: Fri, 2 Aug 2002 11:50:38 -0700
Lines: 4
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit