🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14596

Re: Document.ImportXML does not work ?

#14596
From: Mark_Volmer
Date: Fri, 23 Jan 2004 08:23
13 lines
1002 bytes
Gijs, you're right I missed out on you using VB ;-)

Try this:

 
app.ActiveDocument.ImportXML( "C:\projects\iTextSample3\Chap0703.xml") 




Note that I used ActiveDocument instead of Document.
ActiveDocument is a property of application which is of type Document.
You cannot access methods like ImportXML on Document directly, only on instances of Document.
Technical Details
Message-ID: <2ccf6ee1.2@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: <2ccf6ee1.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,80e9c2cf0d1128b3
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-23 00:37:36 PST
From: Mark_Volmer@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: Document.ImportXML does not work ?
Message-ID: <2ccf6ee1.2@webx.la2eafNXanI>
Date: Fri, 23 Jan 2004 00:23:08 -0800
References: <2ccf6ee1.-1@webx.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit