Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » How to get elemnts in a sequence ?
How to get elemnts in a sequence ? [message #594718] Tue, 19 April 2005 12:31
Eclipse User
Originally posted by: ediouf.genigraph.fr

Hi every body,

I'm very new with xsd, i'm parsing a xsd document and have problems about
getting elemnts in a sequence; i have read the javadoc but i have not
found a method to do this.

How to acceed to the element in the sequence ?
And how to get the content of xs:documentation tag ie : "Informations
décrivant une demande d'acte" ?

Thanks for your reply!

Here's a portion of my code :

<xs:complexType name="DemandeActeNaissanceType">
<xs:annotation>
<xs:documentation>Informations décrivant une demande
d'acte</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DateDemande" type="xs:date"/>
<xs:element name="TypeActeNaissance"
type="TypeActeNaissanceType"/>
<xs:element name="NombreExemplaires">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MotifDemande" type="MotifDemandeType"/>
<xs:element name="Demandeur" type="DemandeurType"/>
<xs:element name="Titulaire" type="IndividuType"/>
</xs:sequence>
</xs:complexType>
Previous Topic:Determining if an <include>'d schema has a defined target namespace
Next Topic:How to get elemnts in a sequence ?
Goto Forum:
  


Current Time: Thu Oct 23 13:59:16 GMT 2014

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

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