public Node parseText(String text) throws IOException, SAXException {
  return parse(new StringReader(text));
}

public Node parseText ( String text ) throws IOException , SAXException { return parse ( new StringReader ( text ) ) ; }
a helper method to parse the given text as xml .
