2MXTree Little XML guide

XML little guide

On the surface, XML looks like HTML. Both are derived from the Standard Generalized Markup Language (SGML). Tools that generate HTML can often be reused to generate XML.

Both HTML and XML use <, >, and & to create element and attribute structures. While HTML browsers accept or ignore mangled markup language, XML parsers, and applications built on those parsers, are less forgiving. Errors in XML syntax halt document processing, and users or applications receive error messages.

XML has several key advantages: