Added parseXML method for xmlString