1. Computing & Technology

XML Namespaces

XML namespaces clarify XML documents and allow you to use elements and attributes using the same name.

What is a Namespace?

When you use multiple XML specifications in one document, you can run into collisiohs between the two specifications. XML namespaces tell the parser which specification to use for the element in question.

Declaring XML Namespaces

XML namespaces clarify XML documents and allow you to use elements and attributes using the same name. By understanding how to declare an XML namespace in an XML document, you'll have a more effective document.

Namespaces Specification

The W3C Recommendation of XML Namespaces.

Namespaces in XML

A fairly dry but comprehensive explanation of namespaces.

Namespaces in XML

This presentation covers the basics of namespaces and includes best practices.

XML Namespaces and How They Affect XPath and XSLT

This is an overview of namespaces. It is very dry.

XML Namespaces by Example

XML.com explains namespaces in a clear and concise manner.

XML Namespaces FAQ

This is a very comprehensive FAQ about namespaces.

XML Namespaces

The official recommendation can be very difficult to understand, but James Clark has clarified it.

XML Namespaces - A Closer Look

A look at XML namespaces and assigning a URI to an element tags. A tutorial that uses XML sample code to explain the function of XML namespaces.

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.