structure:attribute

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
datatypeLibrary xs:anyURI optional
name xs:QName optional
ns optional
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="attribute">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="structure:other"/>
      <xs:group ref="structure:name-class"/>
      <xs:group ref="structure:pattern"/>
    </xs:choice>
    <xs:attributeGroup ref="structure:common-atts"/>
    <xs:attribute name="name" type="xs:QName"/>
  </xs:complexType>
</xs:element>

Sample