Hi, it was a typo in my original post. I tried your code and it shows XML::LibXML::Document=SCALAR(0x6e7fd0)
In reply to Re^2: XML replacenode by michael99 in thread XML replacenode by michael99