http://qs321.pair.com?node_id=801187


in reply to Question on XML::LibXML...

Sounds like you're looking for the text node. Use /text() in your xpath to reference this node.

For example, if you want to point to a particular node:
/root/element/text()
Or more generically:
//element/text()
If you provide some sample xml, we could help out much more.