Hi, I am using the Docuverse DOM 1 HTML implementation with the Xerces 2 SAX parser. I use servlets to manipulate the HTML through DOM to serve dynamic content to a web site. My desire to use XHTML documents accounts for my switch to the Xerces SAX parser instead of the Docuverse HTML parser.
My problems are: 1) The "<!doctype...>" SGML declaration causes the parser to fail, and if this is removed, 2) the parser causes illegal end tags to be inserted, for example, substituting the correct " />" for "</input>". My questions are: 1) Should I be parsing XHTML in this way (assuming I want to manipulate it later) or is there a better way? 2) If what I am doing is OK in principle, what am I doing wrong in practise? Thanks, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
