What is the XML Schema equivalent of using "|" in a DTD specification?

Dane Foster

Please note: I'm using the Schema language as specified by the current W3C Candidate recommendation (...2000/10/XMLSchema).

<xsd:element name="request">
<xsd:complexType>
<xsd:choice>
<xsd:element ref="authentication" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="application" minOccurs="0" maxOccurs="1"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact