How to parse a String containing XML in Java and retrieve the value of the root node? How to parse a String containing XML in Java and retrieve the value of the root node? xml xml