users@jaxb.java.net

Re: JAXB

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Fri, 18 May 2007 18:44:44 +0200

Hi.

I have a XML I obtain data (with JAXB) and later I create other diferent
> XML. can I use JAXB ?? what are I doing?


Ok, so let me try to rephrase that.
You have two schemas A and B. You with with documents in schema A with JAXB.
Now you need to convert your data into schema B. Is this right?

You have two choices - either map schema B with JAXB as well and convert
object models in Java, or marhsall your A-objects back into XML and use
something like XSLT to implement the transformation.

I prefer the second way.

Bye.
/lexi