XML namespace
XML Schema instance
Four attributes an instance document uses to point at its schema or declare a nil value: xsi:schemaLocation, xsi:type and xsi:nil among them.
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
Formats that use it
XML Schema (XSD)
<schema>The dominant XML schema language: namespace-aware, richly typed, and itself written in XML — so schemas diff and version-track like the payloads they govern.
Maven POM
<project>Maven's project model: coordinates, dependencies, plugins, repositories, and inherited build configuration under one namespaced <project> root.
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.