Article View: adobe.scripting.indesign
Article #8337Re: Attribute value provided in XML to be displayed in Document
From: gerald_miller
Date: Wed, 18 Oct 2006 14:38
Date: Wed, 18 Oct 2006 14:38
8 lines
1090 bytes
1090 bytes
The only attributes used and assigned natively are "href". (For now at least...) All others must be parsed via scripting or a plugin. The element in you example contains no data that will be processed natively other than the element which can be applied using a tag. <content type="TO">Here is data</content> You will need to create a script that gets the name/value pairs of attribute you want and apply it to the object you need to address in the document.
Technical Details
Message-ID:
<3bc20168.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc20168.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ac12a7a4c1a248e8 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: gerald_miller@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: Attribute value provided in XML to be displayed in Document Message-ID: <3bc20168.1@webcrossing.la2eafNXanI> Date: Wed, 18 Oct 2006 07:38:34 -0700 References: <3bc20168.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing