Creating a sample XML instance from a XSD Schema [message #16893] |
Wed, 02 April 2003 14:26  |
Eclipse User |
|
|
|
Hello,
In my ongoing project, one of my challenges is to create a sample XML from
the XSD Schema and populate the XML document. Lets say I have saved the
XSD Schema in a .xsd file, are there any API which would let me create a
sample XML Document out of it. I found a xmlgen.jar library provided by
SUN (SUN XML GENERATOR) but its quite useless when applied to the XSD
models. Any ideas or thoughts would be much appreciated..?
thanks for your help
kaunteya
|
|
|
Re: Creating a sample XML instance from a XSD Schema [message #16922 is a reply to message #16893] |
Wed, 02 April 2003 14:53  |
Eclipse User |
|
|
|
kaunteya bhattacharya wrote:
On this note.. I was curious if it would be feasible(or smart) to use JAXB
to do this for you. What if I convert the XML Schemas into java objects,
and then instantiate these java classes and populate them?
Further, I can serialize them into a XML document.
Does that sound feasible??
> Hello,
> In my ongoing project, one of my challenges is to create a sample XML from
> the XSD Schema and populate the XML document. Lets say I have saved the
> XSD Schema in a .xsd file, are there any API which would let me create a
> sample XML Document out of it. I found a xmlgen.jar library provided by
> SUN (SUN XML GENERATOR) but its quite useless when applied to the XSD
> models. Any ideas or thoughts would be much appreciated..?
> thanks for your help
> kaunteya
|
|
|
Re: Creating a sample XML instance from a XSD Schema [message #567077 is a reply to message #16893] |
Wed, 02 April 2003 14:53  |
Eclipse User |
|
|
|
kaunteya bhattacharya wrote:
On this note.. I was curious if it would be feasible(or smart) to use JAXB
to do this for you. What if I convert the XML Schemas into java objects,
and then instantiate these java classes and populate them?
Further, I can serialize them into a XML document.
Does that sound feasible??
> Hello,
> In my ongoing project, one of my challenges is to create a sample XML from
> the XSD Schema and populate the XML document. Lets say I have saved the
> XSD Schema in a .xsd file, are there any API which would let me create a
> sample XML Document out of it. I found a xmlgen.jar library provided by
> SUN (SUN XML GENERATOR) but its quite useless when applied to the XSD
> models. Any ideas or thoughts would be much appreciated..?
> thanks for your help
> kaunteya
|
|
|
Powered by
FUDForum. Page generated in 0.03326 seconds