Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XSD root element
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>
Previous Topic:Problem while serializing xsd schema
Next Topic:XSD root element
Goto Forum:
  


Current Time: Mon Sep 22 16:23:33 GMT 2014

Powered by FUDForum. Page generated in 0.02503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software