🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18572

Re: Multiple instances of an XML tag

#18572
From: adamcoop
Date: Wed, 12 Mar 2003 03:52
8 lines
1060 bytes
To answer my own question,

repeat with myCounter from 1 to (count XML Elements)
set myXMLElement to XML Element myCounter
if name of markup tag of myXMLElement is theTag then
set applied character style of contents of XML Element theTag to theStyle
end if
end repeat
Technical Details
Message-ID: <1de84025.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de84025.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,e169d62697b085cd
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-03-11 20:08:04 PST
From: adamcoop <adam.c@ncprint.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Multiple instances of an XML tag
Message-ID: <1de84025.0@WebX.la2eafNXanI>
Date: Tue, 11 Mar 2003 19:52:23 -0800
References: <1de84025.-1@WebX.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit