Hi,

I want to validate a document (ie an org.w3c.dom.Document object, not an XML
file) with a DTD. What is the simplest way of doing this ?

(The way I've found is to serialize the document to a string and to parse the
string, with an ErrorHandler. Not very simple, and a bit stupid ...)

Thank's
Eric.

_______________________________________

Eric SCHAEFFER
[EMAIL PROTECTED]

POSTER CONSEIL
118 rue de Tocqueville
75017 PARIS
FRANCE
Tel. : 33-140541058
Fax : 33-140541059
_______________________________________

-------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com --------------------


Reply via email to