Schema Central > XML Schema 1.1 > XMLSchema.xsd > xsd:alternative
Advanced search
Need Schema Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:alternative

Element information

Type: xsd:altType

Properties: Local, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type xsd:openAttrs
id [0..1]xsd:IDfrom type xsd:annotated
test [0..1]xsd:string
type [0..1]xsd:QName
xpathDefaultNamespace [0..1]xsd:xpathDefaultNamespace

Used in

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>