The <any> element is used to add an element from another namespace to the schema. It allows any element from the specified namespace(s) to appear in the containing schema. The content of the <any> element can appear as a child element of <complexType>, <group>, <sequence>, <all>, or <choice> elements.
The following example allows catalog element to contain any well-formed XML data that appears in the fabrikam catalog.
<xs:element name="catalog">
<xs:complexType>
<xs:any namespace="http://www.fabrikam.com/catalog"
minOccurs="0" maxOccurs="unbounded"
processContents="skip" />
</xs:complexType>
</xs:element>
| This HTML Help has been published using the chm2web software. |