The StringtoDOM() example
This example operates under the assumption that xmlcol is
a column of type lvarchar that contains XML data. The data
could be fetched and converted to DOM with the following code:
ResultSet r = stmt.executeQuery("select xmlcol from table where ..."); while (r.next() { Document doc= UtilXML.StringtoDOM(r.getString("xmlcol")); // Process ‘doc' }