Article View: adobe.scripting.indesign
Article #14995Re: [JS] Iterate through all XML elements in the active document?
From: Peter_Kahrel
Date: Thu, 08 Jan 2004 19:00
Date: Thu, 08 Jan 2004 19:00
9 lines
928 bytes
928 bytes
I agree with Dave. You could approach this in a similar way as you did the XML tags a few threads ago. Something like pilength = pageItems.length; for (i = 0 ; i < pilength ; i++ ) do something with pageItems[i]; And this is iteration, not recursion. Peter
Technical Details
Message-ID:
<2ccf3f22.3@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf3f22.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,fe35846f9233a0b7 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-08 11:08:02 PST From: Peter_Kahrel@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [JS] Iterate through all XML elements in the active document? Message-ID: <2ccf3f22.3@webx.la2eafNXanI> Date: Thu, 8 Jan 2004 11:00:42 -0800 References: <2ccf3f22.-1@webx.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit