[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Brennan <Michael_Brennan@a...>
  • To: "'da@v...'" <da@v...>, xml-dev@l...
  • Date: Tue, 07 Aug 2001 16:45:12 -0700

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@v... [mailto:da@v...]
> Sent: Tuesday, August 07, 2001 2:55 PM
> To: xml-dev@l...
> 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member