http://www.w3.org/2001/XMLSchema
Simple Version: This is the namespace used in the XML Schema (XSD). An XML schema is used to describe what is valid in an XML instance document.
A less simple version: this is the XML schema namespace that describes the structure of the XML schema. In other words, a circuit that describes itself.
An XML Schema (XSD) must be written using the types defined in this schema.
Example.
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="MyElement" type="xs:string" /> </xs:schema>
http://www.w3.org/2001/XMLSchema-instance
This is the namespace used in XML instance documents to provide additional data to the XML parser that processes it. It describes the xsi: schemalocation, xsi: noSchemalocation, xsi: type, and xsi: no attributes that the XML parser can use to help it validate.
Example.
<MyElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="MySchema.xsd"> string </MyElement>
Sprotty
source share