Method Parser.XML.NSTree.NSNode()->render_xml() Method render_xml string render_xml(void|string encoding) Description Renders the object tree to a string. Parameter encoding The character encoding to be used. Defaults the character encoding in the XML header, or UTF-8 if none.