in reply to Re^2: XML parsing
in thread XML parsing

Secondly, is there any quick way through LibXML to print back into an XML file, or do I just need to use normal perl file output for that?

XML::LibXML::Document has the methods toFile and toFH, or you can use toString and print it to a file yourself.