9.7. The anyAttribute Element
The anyAttribute element provides a mechanism for specifying attributes with what the XML Schema Recommendation calls a wildcard. The attribute wildcard permits a complex type to loosely specify how an XML validator validates attributes in an XML instance. This is in sharp contrast to the normal attribute and attributeGroup elements, which succinctly specify one or a set of attribute types, respectively.
An attribute wildcard generally specifies a set of namespaces against which the XML validator may validate. The XML validator searches each namespace for global attribute types that might correspond to the attributes referenced in the XML instance.
9.7.1. Attributes of an anyAttribute Element
The attributes of ...
Get XML Schema Complete Reference, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.