struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yu <>
Subject Off-topic: XML-binding tool (Was: xml is html in fourletter word format)
Date Tue, 28 Aug 2001 03:37:57 GMT
Another option,

It's very stable, up to version 4.0. (I've been using version 3.3 as 
version 4.0 was short of documentation.)

p.s. If I understand correctly, while JAXB always generates the java 
classes for you, both Quick and Castor allows arbitrary binding via a 
binding schema.


At 11:27 am 27-08-2001 -0400, you wrote:
>i can vouch for castorXML( ), same idea...
>-----Original Message-----
>From: []
>Sent: Monday, August 27, 2001 3:58 AM
>Subject: RE: xml is html in fourletter word format
> > Sorry, had to to vent, been parsing/generating a lot of xml lately.
> > The fact that xml has only three letters doesn't change my opinion!
> > Have a good weekend folks.
>Have you looked into JAXB? Given a DTD, it automatically generates
>a collection of Java classes with getter/setter methods for each
>tag name. You can then convert a valid XML document directly
>into JavaBeans. And you can also convert the beans back to an XML
>JAXB has some limitations (it's also distributed only under a trial
>license at the moment) but it's made dealing with XML completely
>trivial in my case. Let JAXB create the bean, save it as an attribute
>in scope, and let JSP present the data directly. And none of that
>horrible DOM syntax.

John Yu                       Scioworks Technologies
e:         w: +(65) 873 5989
w:   m: +(65) 9782 9610 
View raw message