Skip to main content

XML namespace

XML Schema instance

Four attributes an instance document uses to point at its schema or declare a nil value.

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

This namespace contributes no elements at all — only the attributes xsi:schemaLocation, xsi:noNamespaceSchemaLocation, xsi:type and xsi:nil, which a document being validated attaches to its own elements.

xsi:schemaLocation is a hint, not a guarantee: most validators only honour it when explicitly configured to, so a document that carries it may still validate against a completely different schema.

URI
http://www.w3.org/2001/XMLSchema-instance
Prefix
xsi
Elements
Contributes attributes only

Specification: W3C XML Schema Part 1

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.