🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14639

Re: [JS] How does the associated XMLElements property work?

#14639
From: pjredman
Date: Mon, 26 Jan 2004 20:44
6 lines
1063 bytes
Roberto,

This works fine for a TextFrame, which has an associatedXMLElement (singular) property, but it doesn't work for a paragraph, which takes the associatedXMLElements (plural) property. If you try to iterate through the associatedXMLElements of a paragraph you'll get an error (in JavaScript--not sure about Visual Basic). I just want to reference the xmlElement of a paragraph but cannot.

Thanks,
Phil
Technical Details
Message-ID: <2ccf94be.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf94be.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,19f5d2c2e731681c
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-26 13:08:02 PST
From: pjredman@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] How does the associated XMLElements property work?
Message-ID: <2ccf94be.1@webx.la2eafNXanI>
Date: Mon, 26 Jan 2004 12:44:25 -0800
References: <2ccf94be.-1@webx.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit