in reply to replaceChild in LibXML
getElementsByTagNameNS gets element nodes (as opposed to text nodes).
Try using findnodes, for example:
This way you will replace a text node with another text node.$results->findnodes("//wrap/text()");
|
---|
In Section
Seekers of Perl Wisdom