A
Arash
Hi!
simple problem (I spotted it a couple of times in different newsgroups
but no satifying solution could be found)
I want to create a "maximum" xml instance out of a schema (xsd)
automatically. Meaning that any optional Tag or Attribute should
appear in the instance. Unbounded Tags could appear e.g. once, or
twice...
A way to solve this problem could be JAXB by:
1. reading the xsd file into a JAXB object
2. use some magic to automatically fill the tag values
3. unmarshal the object to a XML file
I have two problems with this approach:
1. point (2.) above needs to be obviously worked out in more detail
2. I couldnt find a functioning JAXB plugin for ECLIPSE 3.0
so please, please help!
greetings, arash.
simple problem (I spotted it a couple of times in different newsgroups
but no satifying solution could be found)
I want to create a "maximum" xml instance out of a schema (xsd)
automatically. Meaning that any optional Tag or Attribute should
appear in the instance. Unbounded Tags could appear e.g. once, or
twice...
A way to solve this problem could be JAXB by:
1. reading the xsd file into a JAXB object
2. use some magic to automatically fill the tag values
3. unmarshal the object to a XML file
I have two problems with this approach:
1. point (2.) above needs to be obviously worked out in more detail
2. I couldnt find a functioning JAXB plugin for ECLIPSE 3.0
so please, please help!
greetings, arash.