Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q5209 What are XML namespaces?

irt.org | Knowledge Base | XML | Q5209 [ previous next ]

Q5209 What are XML namespaces?

Namespaces are another advanced feature of XML, outlined in a W3C note as part of the XML 1.0 specification.

They allow developers to qualify uniquely the element names and relationships and make these names recognizable, to avoid name collisions on elements that have the same name but are defined in different vocabularies.

They allow tags from multiple namespaces to be mixed, which is essential if data is coming from multiple sources. For example, a bookstore may define the <TITLE> tag to mean the title of a book, contained only within the <BOOK> element. A directory of people, however, might define <TITLE> to indicate a person's position, for instance: <TITLE>President</TITLE>.

Namespaces help define this distinction clearly.

Feedback on 'Q5209 What are XML namespaces?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.