Home › Forums › General XMetaL Discussion › Not able to access textnodes per XPath expression › Reply To: Not able to access textnodes per XPath expression
spyro July 6, 2009 at 7:00 am
Reply to: Not able to access textnodes per XPath expressionJuly 6, 2009 at 7:00 am
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/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//text()” which should deliver 2 textnodes (“Hello ” and “world!”) instead of an empty element.