Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Schemas

Using Content from Other Schemas

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.

Example

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>

See Also

Using Namespaces in Schemas