Article View: adobe.scripting.indesign
Article #457Array sort with XML Attributes
From: sudar1983
Date: Sat, 21 Mar 2009 07:36
Date: Sat, 21 Mar 2009 07:36
10 lines
949 bytes
949 bytes
Hi All, Windows / CS3 / JavaScript 1. I have XML Elements in Array, each Element have attribute called pg='34' like this, I want to sort this array using 'pg' attribute. 2. I am Reading all stories from indesign file, it is not coming with perfect alignment order (ie) First story coming from last page and second story coming from first page. I want to align the stories with layout order. Regards, Sudar
Technical Details
Message-ID:
<59b85dd0.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,1a40e30e5d3787a9,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: sudar1983@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Array sort with XML Attributes Message-ID: <59b85dd0.-1@webcrossing.la2eafNXanI> Date: Sat, 21 Mar 2009 00:36:28 -0700 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit