Udostępnij za pośrednictwem


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

Reference

XML Schemas (XSD) Reference
XML Schema Elements