Article View: adobe.scripting.indesign
Article #15004Re: [JS] Iterate through all XML elements in the active document?
From: Dave_Saunders
Date: Thu, 08 Jan 2004 20:11
Date: Thu, 08 Jan 2004 20:11
11 lines
1100 bytes
1100 bytes
Phil, I see what you mean. Well, the essence of recursion is: The recursive routine must use local variables only. And it must return exactly what its top level caller expects to receive (which is pretty obvious, but when it calls itself, it must either process the return or pass it up the chain for the higher level instance to handle). I have to confess that every time I try recursion, I end up getting very confused. Dave
Technical Details
Message-ID:
<2ccf3f22.5@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 12:38:04 PST From: Dave_Saunders@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.5@webx.la2eafNXanI> Date: Thu, 8 Jan 2004 12:11:26 -0800 References: <2ccf3f22.-1@webx.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit