October 14, 2009

0 XML Advanced

XML Namespaces

XML Namespaces provide a method to avoid element name conflicts.

Name Conflicts

Since elment names in XML are not predefined, a name conflict will occur when two different documents use the same element names.

This XML document carries information in a table:


This XML document carries information about a table (a piece of furniture)

<name>African Coffee Table </name>

If these two XML documents were added together, there would be an element name conflict because both documents contain a <table> element with different content and definiton.


Post a Comment

Blogger Themes

Powered by Blogger