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

Schema

The XML-Data Reduced (XDR) schema element that identifies the start of a schema definition.

<Schema
  name="schema-name" 
  xmlns="namespace">

Attributes

name
The name of the schema.
xmlns
One or more namespaces for use with the schema.

Element Information

Number of occurrences One time.
Parent elements (No parent elements.)
Child elements AttributeType, ElementType, description

Remarks

The XDR schema Schema element is the document element (the top-level element) in a schema definition.

The namespaces specified using the xmlns attribute must include the namespace for the schema-defining elements (Schema, ElementType, and so on). Any prefix can be used, but it is convenient to make the Schema namespace the default namespace to avoid having to use a prefix on every XML schema element.

The XDR schema Schema element in an XML schema should also contain namespace declarations for any other schemas, such as the namespace that defines the built-in data types for the XML schema.

Example

<Schema name="fooSchema" xmlns="urn:schemas-microsoft-com:xml-data"
                    xmlns:dt="urn:schemas-microsoft-com:datatypes">
  
</Schema>

See Also

XDR Schema Elements | XDR Schema Data Types Reference