Article View: adobe.scripting.indesign
Article #14959Re: [VB] determining mxl tag
From: gijs122
Date: Wed, 07 Jan 2004 11:03
Date: Wed, 07 Jan 2004 11:03
12 lines
1294 bytes
1294 bytes
A small AppleScript code sample; conversion to VB should not be to difficult: if name of markup tag of item 1 of associated XML elements of page item 1 of group i of myDoc = "Ad" then if name of XML Attribute 1 of item 1 of associated XML elements of page item 1 of group i of myDoc = "file" then set myFile to value of XML Attribute 1 of item 1 of associated XML elements of page item 1 of group i of myDoc end if end if All allowed markup tags must be registered with the document object first. A list of those should also be constructable there. Don't exactly know how, because I only set and read my own (and therefore known) tags. Hope this helps Gijs Reulen
Technical Details
Message-ID:
<2ccf34d9.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf34d9.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,38e764c47602e23a X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-07 03:07:36 PST From: gijs122@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: [VB] determining mxl tag Message-ID: <2ccf34d9.0@webx.la2eafNXanI> Date: Wed, 7 Jan 2004 03:03:46 -0800 References: <2ccf34d9.-1@webx.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit