xs:any

Element Information

Model

Children: xs:annotation

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
maxOccurs xs:allNNI 1 optional
minOccurs xs:nonNegativeInteger 1 optional
namespace xs:namespaceList ##any optional
processContents xs:null strict optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Element Groups xs:nestedParticle, xs:particle

Source

<xs:element name="any" id="any">
  <xs:annotation>
    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="xs:wildcard">
        <xs:attributeGroup ref="xs:occurs"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample