Home Forums General XMetaL Discussion Not able to access textnodes per XPath expression Reply To: Not able to access textnodes per XPath expression

dcramer

Reply to: Not able to access textnodes per XPath expression

Try

msgbox activeDocument.DocumentElement.getNodesByXpath(“//element[2]/text()”).item(0).nodevalue

(added // before “element” in the xpath)

Reply

Products
Downloads
Support