[jdom-interest] how to do DTD validation of newly created XML document ?

sgandon at canal-plus.fr sgandon at canal-plus.fr
Wed Sep 20 02:17:50 PDT 2000


Hello,
I am new to xml and therefore new to the use of JDOM.
I need to create a xml document from scratch excepting that I have a DTD, I
would like to know how to check the validity of my document before saving
it?
Do I have to save it and build another document through a SAXBuilder so that
parsing validates it or there any other way to do that before saving (using
XMLOutputter)?

Thank you
Sebastien.




More information about the jdom-interest mailing list