Summary

The need for XML namespaces to accommodate the likelihood of element type name clashes was explained in this chapter.

XML 1.0 uses a namespace URI to uniquely identify a namespace. A namespace URI is mapped to a namespace prefix by means of a namespace declaration. A namespace-aware element type name consists of a namespace prefix and a local part.

Get Sams Teach Yourself XML in 10 Minutes 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.