Home Forums General XMetaL Discussion Getting value of an attribute using getNodesByXPath Reply To: Getting value of an attribute using getNodesByXPath

dcramer

Reply to: Getting value of an attribute using getNodesByXPath

Ok, 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

Reply

Products
Downloads
Support