XSD root element [message #598188] |
Fri, 09 June 2006 21:19 |
Eclipse User |
|
|
|
Originally posted by: gaurav.mantro.gmail.com
Hi All,
Using eclipse xsd api's I am able to get a schema file (.xsd) which
represents the following
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="Abstract"/>
<xsd:complexType name="Persistent"/>
<xsd:complexType name="Dynamic"/>
<xsd:element name="AppTool" type="Persistent"/>
<xsd:element name="AtmpColl" type="Persistent"/>
</xsd:schema>
But i would like to have a root element instead of global types etc. So
I am trying to get something like
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Root">
<xsd:complexType name="Abstract"/>
<xsd:complexType name="Persistent"/>
<xsd:complexType name="Dynamic"/>
<xsd:element name="AppTool" type="Persistent"/>
<xsd:element name="AtmpColl" type="Persistent"/>
</xsd:element>
</xsd:schema>
|
|
|
Powered by
FUDForum. Page generated in 0.03247 seconds