🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15535

How to get the value of an XML Tag

#15535
From: Gunnar_Lieb
Date: Sun, 23 Nov 2003 23:49
8 lines
969 bytes
How can I get the value of an XML Element? If I have a XML structure where the first Element is named myElement and it's value is "myVal"...

set myXMLElement to XML Element 1
set myText to contents of mySubXMLElement

leads to an error? How to get "myVal" returned?

Thanks!
Technical Details
Message-ID: <2cce8de3.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,41fba736a1ea811c,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-23 16:07:54 PST
From: Gunnar_Lieb@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!news.eunet.no!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: How to get the value of an XML Tag
Message-ID: <2cce8de3.-1@webx.la2eafNXanI>
Date: Sun, 23 Nov 2003 15:49:38 -0800
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit