Do XML namespaces have any function except providing a two-part naming system for element types and attributes?
No. This is a very important point and a source of much confusion, so we will repeat it: XML NAMESPACES DO NOT HAVE ANY FUNCTION EXCEPT PROVIDING A TWO-PART NAMING SYSTEM FOR ELEMENT TYPES AND ATTRIBUTES. In particular, they do not provide or define any of the following: • A way to merge two documents that use different DTDs. (For more information, see question 8.5.) • A way to associate XML namespaces and schema information. (For more information, see question 12.2.)myth #8.)–> • A way to validate documents that use XML namespaces. (For more information, see question 7.4.) • A way to associate element type or attribute declarations in a DTD with an XML namespace. (For more information, see question 7.2.
Related Questions
- Does the XML namespaces recommendation define anything except a two-part naming system for element types and attributes?
- Do XML namespaces have any function except providing a two-part naming system for element types and attributes?
- How can I use XML namespaces to combine documents that use different element type and attribute names?