[EMAIL PROTECTED] wrote:
>
> javax.xml.parsers.DocumentBuilderFactory dbf=
> javax.xml.parsers.DocumentBuilderFactory.newInstance();
> javax.xml.parsers.DocumentBuilder db= dbf.newDocumentBuilder();
>
> org.w3c.dom.Document doc = db.parse("C:\somefile.html");
BTW, the DocumentBuilder#parse(String) method takes a URI and the String
you use is probably not a valid URI although it might work with the
parser you are using. I would use something like
"file:///C|/somefile.html" instead.
-Edwin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]