code: public static Document buildControlDocument(String fromXML)
          throws SAXException, IOException {
          return buildDocument(newControlParser(), new StringReader(fromXML));
      }
docs: Utility method to build a Document using the control DocumentBuilder
  to parse the specified String.
  @param fromXML
  @return Document representation of the String content
  @throws SAXException
  @throws IOException