Why We Need Namespaces : Namespace « Namespace « XML Tutorial






For the following XML document, 

<?xml version="1.0"?> 
<person> 
    <name> 
        <title>Sir</title> 
    </name> 
    <htmlFormat> 
        <title>Movie</title> 
    </htmlFormat> 
</person> 

To an XML parser, there isn't any difference between the two <title> elements.








2.1.Namespace
2.1.1.Why We Need Namespaces
2.1.2.How XML Namespaces Work
2.1.3.Default Namespaces
2.1.4.Declaring Namespaces on Descendants
2.1.5.Understanding URIs
2.1.6.Change URI of namespace
2.1.7.Using Prefixes