Conversion of XSD to XML
Hello Gurus,
I have a requirement of converting an XML Schema (XSD) to a template XML. An example snippet can be seen below:
XSD:
------
<s:schema targetNamespace="http://xmlns.oracle.com/helloworld">
<s:element name="MyWebServiceInput">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Parameter1" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="Parameter2" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
XML to be generated:
<MyWebServiceInput targetNamespace="http://xmlns.oracle.com/helloworld">
<Parameter1> A String parameter</Parameter1>
<Parameter2> A String parameter</Parameter2>
</MyWebServiceInput>
Can you please point me to ways using which I can implement it.
Thanks,
Dilbagh