Chapter 3. XML Namespaces

IN THIS CHAPTER

3.1 Uniform Resource Names and Uniform Resource Locators

3.2 Namespace Components

3.3 Declaring Namespaces

3.4 Qualified Names and QNames

3.5 Namespace Scoping

3.6 XML Schema and Namespaces

To take full advantage of XML Schema, you need to understand XML Namespaces. The W3C released the Namespaces Recommendation shortly after the XML Recommendation. Namespaces help uniquely identify attribute and element names. They also help to prevent naming collisions. They do this by associating a Uniform Resource Identifier (URI) with your XML vocabulary so that elements with the same name but associated with different namespace URIs are differentiated.

Because namespaces came out after XML, they are not the easiest ...

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.