बातम्या

SgmlReader - Convert (almost) any HTML to valid XML SgmlReader is a versatile C# .NET library written by Chris Lovett for parsing HTML/SGML files using the XmlReader API. A command line utility is ...
2. XML, SGML and HTML: a historical perspective 2.1 XML and SGML XML is directly derived from SGML (Standard Generalized Markup Language), the generic markup language conceived in the early 1980s and ...
In contrast, widespread use of HTML exemplified the desirability of simplicity in XML standardization. The latter issue and HTML's user market largely explain discontinuity in SGML-XML succession.
Unlike HTML and XML, SGML will probably never gain widespread acceptance on the Internet, simply because it was never designed or optimized for the demands of a network protocol.
Whereas HTML uses a fixed set of tags or codes to describe pages, XML maintains the flexible meta-language characteristics of SGML by defining the codes that will be used in each document.
For instance, the DTD for HTML does not allow for markup tags to select paper size for printing. Let’s take a look at a DTD for the recipe XML in Listing 3.