Can somebody tell me how to use the property http://xml.org/sax/properties/dom-node that tells the node that erred.
Doing the folowing way seems to be incorrect: org.w3c.dom.Node n = null; DOMParser domp = new DOMParser(); domp.setProperty("http://apache.org/xml/properties/dom/document-class-name", "org.apache.html.dom.HTMLDocumentImpl"); domp.setProperty ("http://xml.org/sax/properties/dom-node", n); try { domp.parse(new InputSource(htmlfile)); }catch (Exception e ) { System.out.println ("n = " + n); } Document d = domp.getDocument(); However I am getting SAX Not recognized exception. Whats the right way to use tthis property. st. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]