Article View: adobe.scripting.indesign
Article #8781Re: Javascript doubt
From: priyan
Date: Tue, 26 Sep 2006 10:04
Date: Tue, 26 Sep 2006 10:04
9 lines
856 bytes
856 bytes
Hi all Frome the following coding i want to get the parent tag name, but the result showing grand parent tag name. var mydoc = app.activeDocument; var mytext = mydoc.selection[0]; alert(mytext.associatedXMLElements[0].parent.markupTag.name); thanx in advance
Technical Details
Message-ID:
<3bc1bf71.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.albasani.net!news.isoc.lu!webcrossingReferences:
<3bc1bf71.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7de22d946ccdbc69 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: priyan@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.albasani.net!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Javascript doubt Message-ID: <3bc1bf71.4@webcrossing.la2eafNXanI> Date: Tue, 26 Sep 2006 03:04:57 -0700 References: <3bc1bf71.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit