🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9338

Re: XML Element invalid after placing asset

#9338
From: Revier_Daniel
Date: Tue, 05 Sep 2006 11:44
14 lines
1183 bytes
Ok, i solved the problem with the xmlElement 'assetNode'.

I first save the ID like

var assetID = assetNode.id;

and after placing the asset i declare the 'assetNode' again by

var assetNode = myDoc.xmlElements.itemByID(assetID);

this works fine, but at this point appears another problem.
All xmlElements i saved before in variables are undefined, too!

Did anyone come across these problems with assets and xmlElements in InDesign CS2?
Technical Details
Message-ID: <3bc18824.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.kamp.net!news.buerger.net!news.isoc.lu!webcrossing
References: <3bc18824.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d3ddd70d0fa9b296
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Revier_Daniel@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.kamp.net!news.buerger.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: XML Element invalid after placing asset
Message-ID: <3bc18824.0@webcrossing.la2eafNXanI>
Date: Tue, 5 Sep 2006 04:44:20 -0700
References: <3bc18824.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit