|
Answer» ☆ DIFFERENCE BETWEEN XML AND SGML AS FOLLOWS :
__________________________________
● SGML has XML as it's subset.
● XML is a MARK up language while SGML is a meta language.
● XML allows to craft NEW tags for presentation of data while SGML is an ISO standard for specifying set of tags.
● XML has simpler structure as compared to SGML
● XML documents are USUALLY readable with SGML parsers while SGML can produce errors with XML parsers.
● Some allowed constructs in SGML are not PERMITTED in XML
● Some comment practices in SGML too aren't allowed in XML
● XML can define applications on their own while SGML can't.
● XML describes the data and transfers data between application while SGML allows to define and create platform independent files. __________________________________
HOPE HELPED !!
|