Change your line of code from:
oXmlDocument.Load(a);
to:
oXmlDocument.LoadXml(a);
XmlDocument.Load()[
^] is used to load XML either from a stream, TextReader, path/URL, or XmlReader.
XmlDocument.LoadXml()[
^] is used to load the XML contained within a string variable
Good luck,
OI