NSNode parse_input(string data, void|string default_ns)
Takes a XML string data and produces a namespace node tree. If default_ns is given, it will be used as the default namespace.
Throws an error when an error is encountered during XML parsing.