Hi,

I am working on an application that uses an xsd schema to unmarshall an xml
file, and then marshall it back to xml when the user has finished updating
the information.
However, there are diffrent versions of this application available to the
user - each using slightly different schemas.
I was wondering is it possible for the different versions of my application
to use the same xml file for castor un/marshalling? I know the unmarshaller
has setIgnoreExtraElements() and setIgnoreExtraAttributes(). This means the
different versions of my app can read in the same xml file. However, when
they write out the xml file, they will remove any existing elements that
were previously ignored! Is there any way to tell the marshaller to just
"overwrite" the elements in the xml file with the objects, and leave any
other elements alone?

Thanks! I've been on this for ages and can't find a solution!
-- 
View this message in context: 
http://www.nabble.com/Can-castor-marshall-different-schema-versions-to-the-same-xml--tp24458759p24458759.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to