Why XSDElementDeclaration doesnt have Min/Max Occur? [message #566848] |
Mon, 31 March 2003 09:12 |
kaunteya bhattacharya Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Hello,
Was wondering why the cardinality support is not there for
XSDElementDeclaration. Please correct me if i am wrong, but i believe the
XSDElementDecl can have a max|min from the XML Schema definition:
XML Representation Summary: element Element Information Item
<element
abstract = boolean : false
block = (#all | List of (extension | restriction | substitution))
default = string
final = (#all | List of (extension | restriction))
fixed = string
form = (qualified | unqualified)
id = ID
maxOccurs = (nonNegativeInteger | unbounded) : 1
minOccurs = nonNegativeInteger : 1
name = NCName
nillable = boolean : false
ref = QName
substitutionGroup = QName
type = QName
{any attributes with non-schema namespace . . .}>
Content: (annotation?, ((simpleType | complexType)?, (unique | key |
keyref)*))
</element>
but i couldnt find the api on Element in xsd doc. What should I do? I am
planning to have XSDElements as schema contents but in my schema, they can
occur more than once.
many thanks
kaunteya
|
|
|
Powered by
FUDForum. Page generated in 0.03091 seconds