xsd:alternative
Element information
Namespace: http://www.w3.org/2001/XMLSchema
Schema document: XMLSchema.xsd
Type: xsd:altType
Properties: Local, Qualified
Content
- Sequence [1..1]
- xsd:annotation [0..1]
- Choice [0..1]
from type xsd:annotated
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type xsd:openAttrs | |
id | [0..1] | xsd:ID | from type xsd:annotated | |
test | [0..1] | xsd:string | ||
type | [0..1] | xsd:QName | ||
xpathDefaultNamespace | [0..1] | xsd:xpathDefaultNamespace |
Used in
- Type xsd:element
- Type xsd:localElement (Element xsd:element)
- Type xsd:topLevelElement (Element xsd:element)
Sample instance
<xsd:alternative> <xsd:simpleType> <xsd:restriction base="QName"> <xsd:simpleType>... </xsd:simpleType> <xsd:minExclusive value="any text content">... </xsd:minExclusive> </xsd:restriction> </xsd:simpleType> </xsd:alternative>