Copyright by Kevin Howard Goldberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Chapter 12. XML Namespaces

You’ve learned how to create XML documents, transform, and display them, as well as define the set of elements and attributes that they can contain. Now, imagine that you want to combine some of your XML documents with someone else’s. In doing so, you find out that they have used some of the same names for elements that you have. For example, the Wonders of the World document uses the name element to contain the name of each specific wonder, while the other person uses the name element to contain the name of an ancient civilization. If I combine these XML documents, the source element data will become unclear and effectively meaningless.

The solution to this problem is to group the element names from each XML document ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required