Guest uriblum Posted June 26, 2006 Share Posted June 26, 2006 helloin the min/maxOccurs I need to have not a sequence appearnce of child.example:the node can be of: 0 appearance or 2 appearance or 4 ...(and can't be 1 or 3) Link to comment Share on other sites More sharing options...
essdog Posted June 28, 2006 Share Posted June 28, 2006 I don't exactly understand your question. Can you please explain a little more? Are you saying that you only want elements to appear an even number of times? helloin the min/maxOccurs I need to have not a sequence appearnce of child.example:the node can be of: 0 appearance or 2 appearance or 4 ...(and can't be 1 or 3)<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Zukero Posted July 5, 2006 Share Posted July 5, 2006 Maybe you can try to double your elements in the sequence, and let the min/maxOccurs values be anything. Something like : <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element name="toto"/> <xs:element ref="toto"/></xs:sequence> Hope it helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now