just to chime in ...
i personally prefer working with xml via jaxb rather than natively,
since i get type safety and access to the elements of the
document/object through standard java facilities (beans, collections,
etc), and get validation of the content with much more ease than having
to reference a schema and pass it and the document into the msv. in
addition, i often use jaxb objects without ever
marshalling/unmarshalling them to/from xml -- just create them, pass
them around, validate them, do things with them, and then get rid of
them. the punchline of all of this is that it would be nice to have
java code which leverages the succinctness of an xpath query with all
of the nice java-ey things jaxb gives.
jon
On Aug 27, 2004, at 8:56 AM, Kohsuke Kawaguchi wrote:
>
> Hmm, if you need to access a value via XPath, why don't just use dom4j
> or something?
>
> What's the point of using JAXB?
>
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net