From: Danny A. <dan...@vi...> - 2003-03-06 17:18:20
|
I'm not familiar with EXML (or jdom for that matter), though it's not hard to imagine how it would be able to make things easier than JAXP. However, I don't think JAXP's all *that* bad - specifically : > Porting the XML to JAXP has been considered. However, JAXP is very > difficult to work with, compared to EXML; EXML handles generation of the > XML for you from a DOM, for example, where JAXP requires manual > generation. API implementations (such as Xerces) usually have fairly simple serialization available, though outside of JAXP proper. It's also possible to serialize using javax.xml.transform, see : http://www.ibiblio.org/xml/books/xmljava/chapters/ch09s09.html "Using JAXP to both read and write an XML document" > Also, JAXP handles namespacing very poorly. If I remember correctly, the first release of JAXP, maybe a couple of years ago, didn't have *any* support for namespaces, but as far as I know the current version & implementations handle namespaces as well as one would expect. Cheers, Danny. |