Creates an XMLReader object.
The XMLEncoding parameter sets the encoding for the parser. The default encoding is UTF-8. The namespaceSeparator parameter forces Expat to expand namespace definitions.