🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1418

Re: Access image placed by xml-rules

#1418
From: Siegfried_Kauschat
Date: Fri, 06 Feb 2009 16:01
13 lines
1297 bytes
Hi Stefan,

thank you for your answer. I've read your former posts to similar problems and always wondered about the data types of element and co.:

$.writeln(element) -> [object XMLElement]
$.writeln(element.parent) -> [object XMLElement]
$.writeln(element.xmlContent) -> [object Text]
$.writeln(element.xmlContent.parent) -> [object XmlStory]

Are that the expected data types?

I think XmlStory is not the expected type to look for my rectangle. And why is element.xmlContent a text object? Even Indesign shows this node with the icon for "graphic node" - an I see the image in the document after processing the rule-script.
What else than the href-attribute makes an xml-node a "graphic" one?
Technical Details
Message-ID: <59b7c9c9.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7c9c9.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,68107f50ad7c3079
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Siegfried_Kauschat@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Access image placed by xml-rules
Message-ID: <59b7c9c9.3@webcrossing.la2eafNXanI>
Date: Fri, 6 Feb 2009 08:01:59 -0800
References: <59b7c9c9.-1@webcrossing.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit