Here’s the comparison of XML and HTML and example of XML.
• XML was designed to carry data.
• XML is not a replacement for HTML.
• XML and HTML were designed with different goals:
• XML was designed to describe data and to focus on what data is.
• HTML was designed to display data and to focus on how data looks.
• HTML is about displaying information, while XML is about describing information.
XML Example
• The following example is a note to Tove from Jani, stored as XML:
Don’t forget me this weekend!
Filed under:
XML
Leave a comment