Hello,
I'm working with xml documents.
There's a bunch of <ARTNR>the number</ARTNUMBER> nodes in there.
I can get them all using an xpath expression borrowed from the archives.
Now, how do I get only the data (the numbers) without the tags?
here's the method I use:
dim nodeList as XMLNodeList
theFile = getFolderItem("H01.xml")
if theFile.Exists then
xmlDoc = new XMLDocument
xmlDoc.loadXML(theFile)
nodeList = xmlDoc.xql("//ARTNR")
end if
MsgBox(nodeList.ToString)
Cheers,
Koen van Hees
Les Allées de St. Genis
299 Allée Diderot
01630 St Genis Pouilly
France
tel: +33 (0)4 50 42 08 78
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>