* @throws java.io.IOException If something goes wrong.
* @throws org.xml.sax.SAXException If something goes wrong.
*/
public static Element stringToW3CDOMElement(String string)
throws IOException, SAXException {
DOMParser parser = new DOMParser();
parser.parse(new InputSource(new StringReader(string)));
return parser.getDocument().getDocumentElement();
}