Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » How to extract values of maxOccurs and minOccurs ?
How to extract values of maxOccurs and minOccurs ? [message #60415] Mon, 02 May 2005 12:14 Go to next message
Eclipse UserFriend
Originally posted by: ediouf.genigraph.fr

Hi everybody !
I have the same problem than Alex !

I would like to extract values of minOccurs and maxOccurs of an element.

Here is part of my schema :

<xs:complexType name="PrenomsType">
<xs:annotation>
<xs:documentation>Prenom(s) d'un individu</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Prenom" type="NomType" minOccurs="1"
maxOccurs="5"/>
</xs:sequence>
</xs:complexType>

I don't found the right methods to get minOccurs value ie 1 and maxOccurs
value ie 5

Thanks for your help !
Re: How to extract values of maxOccurs and minOccurs ? [message #60437 is a reply to message #60415] Mon, 02 May 2005 13:16 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Elhadji,

So you thought you'd start a new thread to ask the same question!?

See Klaas' answer to the previous question.


Elhadji wrote:

> Hi everybody !
> I have the same problem than Alex !
>
> I would like to extract values of minOccurs and maxOccurs of an element.
>
> Here is part of my schema :
>
> <xs:complexType name="PrenomsType">
> <xs:annotation>
> <xs:documentation>Prenom(s) d'un individu</xs:documentation>
> </xs:annotation>
> <xs:sequence>
> <xs:element name="Prenom" type="NomType" minOccurs="1"
> maxOccurs="5"/>
> </xs:sequence>
> </xs:complexType>
>
> I don't found the right methods to get minOccurs value ie 1 and
> maxOccurs value ie 5
>
> Thanks for your help !
>
Re: How to extract values of maxOccurs and minOccurs ? [message #595312 is a reply to message #60415] Mon, 02 May 2005 13:16 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
Elhadji,

So you thought you'd start a new thread to ask the same question!?

See Klaas' answer to the previous question.


Elhadji wrote:

> Hi everybody !
> I have the same problem than Alex !
>
> I would like to extract values of minOccurs and maxOccurs of an element.
>
> Here is part of my schema :
>
> <xs:complexType name="PrenomsType">
> <xs:annotation>
> <xs:documentation>Prenom(s) d'un individu</xs:documentation>
> </xs:annotation>
> <xs:sequence>
> <xs:element name="Prenom" type="NomType" minOccurs="1"
> maxOccurs="5"/>
> </xs:sequence>
> </xs:complexType>
>
> I don't found the right methods to get minOccurs value ie 1 and
> maxOccurs value ie 5
>
> Thanks for your help !
>
Previous Topic:How to extract values of maxOccurs and minOccurs ?
Next Topic:Load XSDSchema from DOM rather than file
Goto Forum:
  


Current Time: Sun Dec 21 13:45:55 GMT 2014

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

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