in reply to textContent() method in XML::LibXML ...

According to the libXML documentation this is what I would expect.

Try nodeValue.
Or maybe use a different Xpath along with the XML::LibXML::Text module.

As with some of your more recent posts, we could help you out more with a sample of the xml, and the xpath you are trying.