xmlParseDoc function

Parse an XML document with options controlling the parser.