Namespace identification

Most standards can now be identified with a specific location on the Web. For example, HTML 4 is defined at http://www.w3.org/TR/REC-html40. As these Web addresses must be unique, this string of characters can be deemed to be a suitable namespace identifier. In addition, it is already known to anyone interested in the DTD or standard in question, and it is genuinely informative to any readers of the document who were not aware of its existence, as they can use the identifier to find and read the standard itself.

The Namespaces standard uses URLs (see Chapter 30) to identify each namespace, but it must be understood that Namespace-sensitive applications do not have to be connected to the Internet. In this context, a URL ...

Get XML Companion, The, Third Edition 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.