Should I use sax?

Roberto Cosenza <[email protected]> Mon, 22 May 2006 16:00:31 +0200
Newsgroups gmane.text.xml.sax.devel
Message-ID <[email protected]>
Hi.
I'm writing an application that has to parse and MODIFY some XHTML.
The result of the operation has to be the modified XHTML.
I started using SAX (xerces) and, though seemed to work, I found out
that SAX does not keep my doctype (all parsed documents take the XHTML
Strict doctype). Besides, I was using the XHTMLSerializer class which is
deprecated.
Maybe I should use DOM for this job? The document is usually small. I'm
missing some point?
There is a lot of documentation out there, so much that I get confused
and I would like some guidelines.

Please help

Roberto Cosenza
Infoflex Connect AB, Sweden
Tel: +46-(0)8-55576867, Fax: +46-(0)8-55576861


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel