OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: jdom vs. xerces

By "translations" do you mean XSLT? You can use Xalan for that. JDOM does
not address XML parsing. You need a separate parser for that (although I
think the distribution may include Xerces -- I don't recall). You can use
JDOM with Xerces (or any other SAX parser).

You might also be interested in DOM4J (http://www.dom4j.org/). Currently in
beta, but has interesting functionality.

> -----Original Message-----
> From: da@vizbang.com [mailto:da@vizbang.com]
> Sent: Tuesday, August 07, 2001 2:55 PM
> To: xml-dev@lists.xml.org
> Subject: jdom vs. xerces
> i'm doing a little break from the wacky interface thing to 
> work on some
> java middleware.  i'd been using xerces, but i just came across jdom,
> which looks awfully neat and seems to support translations (which i'm
> using).  i'm only vaguely disattisfied with xerces - it's doing what i
> need, but i keep getting the feeling that things should be easier than
> they are.  i.e. XMLOutputter in jdom vs. however you do this 
> via xerces -
> serialize and send it to a string buffer or something.  but there's no
> example that covers this directly, so, horrors, i have to 
> actually figure
> out something rather than just copy it. :)
> has anyone tried both?  thoughts?
> dan
> da  -  dan  ancona
> interface  heretic
> http://vizbang.com
> don't postpone joy