structure:data

Element Information

Model

((ANY element from ANY namespace OTHER than 'http://relaxng.org/ns/structure/1.0' | ANY element from LOCAL namespace 'No Namespace')) | structure:param | structure:except

Attributes

QName Type Fixed Default Use Inheritable Annotation
datatypeLibrary xs:anyURI optional
ns optional
type xs:NCName required
Wildcard: ANY attribute from ANY namespace OTHER than 'http://relaxng.org/ns/structure/1.0'

Used By

Element Group structure:pattern

Source

<xs:element name="data">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="structure:other"/>
      <xs:choice>
        <xs:element ref="structure:param"/>
        <xs:element name="except">
          <xs:complexType>
            <xs:group ref="structure:open-patterns"/>
            <xs:attributeGroup ref="structure:common-atts"/>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:choice>
    <xs:attribute name="type" use="required" type="xs:NCName"/>
    <xs:attributeGroup ref="structure:common-atts"/>
  </xs:complexType>
</xs:element>

Sample