Я попробовал с этим фрагментом, Получил решение.
// Sample string in the XML format
String s = "<Result> No Records found !<Result/>";
// Create the instance of XmlDocument
XmlDocument doc = new XmlDocument();
// Loads the XML from the string
doc.LoadXml(s);
// Returns the XMLElement of the loaded XML String
XmlElement xe = doc.DocumentElement;
// Print the xe
Console.out.println("Result :" + xe);
Если есть какой-либо другой лучший / эффективный способ реализовать то же самое, пожалуйста, сообщите нам.
Спасибо и ура