XML technologies / XML Schema / References to schemas and schema data types in XML documents
(Excerpt from “XML Schema” by Eric van der Vlist)
So far, we have seen how to write W3C XML schemas outside XML documents without touching the actual instance documents. This chapter introduces a new namespace used within XML documents to provide information for schema processors. It can specify the locations of associated schemas and the schema types used. This opens a new level of flexibility and interaction between schemas and instance documents when designing XML applications.
This namespace, identical for all metadata concerning W3C XML Schema within instance documents themselves, is called "http://www.w3.org/2001/XMLSchema-instance". The prefix normally used to denote it is xsi. This namespace uses only four attributes, considered valid on any element of any instance document without being declared in the schema.
Copyright © 2003 O'Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from “XML Schema” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de
back to top