XML namespace
XML Schema Definition (XSD)
The vocabulary a schema document is written in. Conventionally bound to xs: or xsd:.
xmlns:xs="http://www.w3.org/2001/XMLSchema"This namespace holds the elements that make up a schema itself — <xs:element>, <xs:complexType>, and so on — plus the built-in datatypes such as xs:string and xs:dateTime that schemas refer to.
It is easy to confuse with XMLSchema-instance. This one appears in the schema; the instance namespace appears in the documents the schema validates.
- URI
http://www.w3.org/2001/XMLSchema- Prefix
xs- Elements
schemaelementattributecomplexTypesimpleTypesequenceimport
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.
WSDL
<definitions>The machine-readable contract for a SOAP service: operations, messages, bindings and endpoints.
UBL Invoice
<Invoice>The OASIS invoice document behind Peppol and most European e-invoicing mandates.
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.