6.15. Locating XML Schemas and XML Schema Components

The most common mechanism for locating an XML schema document is a complete URL. The catalog schema, for example, is located at the following address:

xmlns:cat= 
 "http://www.XMLSchemaReference.com/examples/theme/catalog.xsd" 

An XML schema may specify a component via an XML fragment (see the W3C XML Fragment Interchange Recommendation at http://www.w3.org/TR/xml-fragment.html).

An XML schema may also specify components with an XPointer (see the W3C XML Pointer Language Recommendation at http://www.w3.org/TR/WD-xptr).

Get XML Schema Complete Reference, The now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.