The application that I have been working on in my spare time is used to generate web-forms on the fly from an existing schema and schema adjunct. Using the form, you can either create a new XML instance, or you can edit an existing XML instance. By submitting the form you pass the created/updated (and valid) XML instance to your business logic.
I already have a nice working version that internally maintains the generated XML instance as a DOM tree which is then passed to the business logic. It is good if you do not know the schema beforehand, however, in most situations, I have that information so I can compile the schema with XJC and use the content tree beans to store the XML instance data and then it to the business logic. Much nicer then throwing a DOM tree at it...
Thanks,
Jan Moravec
-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Friday, August 27, 2004 5:57 PM
To: users_at_jaxb.dev.java.net
Subject: Re: Accessing JAXB mappings
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