Home › Forums › General XMetaL Discussion › Getting value of an attribute using getNodesByXPath › Reply To: Getting value of an attribute using getNodesByXPath
Reply to: Getting value of an attribute using getNodesByXPath
September 3, 2009 at 12:45 pmOk, I see, in the example for getNodesByXpath “.data” is used because it's getting the value of a text node:
[code] tableOfContents += currTitleNumber + “. ” + title.childNodes.item(0).data + “n”;
[/code]
Thanks,
David