8.4. The any Element
The any element provides a mechanism for specifying elements with what the XML Schema Recommendation calls a wildcard. The element wildcard permits a complex type to loosely specify how an XML validator validates elements in an XML instance. This is in sharp contrast to the normal element element, which succinctly specifies element type.
An element wildcard generally specifies a set of namespaces against which the XML validator may validate. The XML validator searches each namespace for global element types that might correspond to the elements referenced in the XML instance.
Listing 8.12 is an element type that specifies the XML instance may contain a reference to a set of any known element types in any known namespaces. ...
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.