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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.