Figure 4    Pros and Cons of XML

XML Pros XML Cons
XML offers high flexibility in modeling data and few rules to fulfill. XML syntax is more rigorous than HTML's.
The language structure is completely up to the user. Owing to its extreme flexibility, XML might be confusing.
Despite the flexibility, any compliant browser can deal with it. DTD and namespaces, however, are a good and definitive cure.
The meaning of each tag is established by the program that uses it (with the help of the DTD specs). XML is text-based and easily readable, and this increases its interoperability. There's an XML parser ready to use. Not all browsers support XML.