Home › Forums › General XMetaL Discussion › Not able to access textnodes per XPath expression › Reply To: Not able to access textnodes per XPath expression
Reply to: Not able to access textnodes per XPath expression
July 6, 2009 at 7:00 amHello dcramer,
you're right, of course. I forgot this to add this to my post here in the first case (I've corrected that know). My problem is, that exactly this expression “//element[2]/text()” doesn't give me the expected result.
Furthermore I am not able to correctly address the content within element 1 with the expression “//element[1]//text()” which should deliver 2 textnodes (“Hello ” and “world!”) instead of an empty element.
spyro