In Java, how do I parse XML as a String instead of a file? In Java, how do I parse XML as a String instead of a file? xml xml