1) A namespace is a qualified name that is associated with the DTD/Schema location .
2) A document may have duplicate elements and attributes. So, the namespace defines a way to compare duplicate elements and attribute names.