XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access