Posted By:
Roseanne_Zhang
Posted On:
Thursday, December 12, 2002 05:12 PM
startDTD()
elementDecl()
are callback or event handling methods. They cannot change your XML. How to add a line of DOCTYPE in your xml, the simplest way is just add a line in the result text file, or do an extremely simple XSL Transformation. If you want to make things more complicated, then use DOM/JDOM etc.
Keep It Simple and Stupid (KISS), please!