XML Schema Instance Attributes

MSXML 5.0 SDK

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

XML Schema Instance Attributes

The XML Schema definition language (XSD) defines four attributes for use in XML instance documents. These attributes are in the http://www.w3.org/2001/XMLSchema-instance namespace. These attributes are often prefixed with xsi, although any prefix can be used and mapped to the http://www.w3.org/2001/XMLSchema-instance namespace URI.

The following table describes the XML Schema instance attributes.

nil When true, specifies that an element has missing content.
noNamespaceSchemaLocation Associates a schema document that has no target namespace with an instance document.
schemaLocation Associates a schema document that has a target namespace with an instance document.
type Specifies the type of an element.

See Also

XML Schema Reference | XML Schema Elements