Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can JAXB combine data from 2 schema into single hierarchy tree?

 
Vladas Razas
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use data in my application from 2 different xml ( schemas ). Could JAXB merge my data in memory and keep data relationships. One schema/XML will contain data description and their default values (sort of template) and second one will have the data values for the object described in first XML. Can I load it into same data tree? This is like merging 2 xmls.

Is it possible with JAXB?
Is it possible with JAXB to load data using one schema and store data using another?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic