Rev | Author | # | Line |
---|---|---|---|
1 | WikiAdmin | 1 | [Acronym] for __S__tandard __G__eneralized __M__arkup __L__anguage. |
2 | |||
2 | AristotlePagaltzis | 3 | It evolved from earlier generalized markup languages developed at [IBM], including General Markup Language (GML) and ISIL. Despite the name, it's not itself a markup language, but a description of how to specify one. Such a specification is called a [DTD]; a good example for MetaData. The premier markup language defined in terms of [SGML] is [HTML]. While disregarded in [HTML] for a long time, the philosophy of [SGML] is that documents should be described in terms of their structure, rather than the "document image". They can then be displayed or output in any form appropriate for any media. |
1 | WikiAdmin | 4 | |
2 | AristotlePagaltzis | 5 | However, the standard is excessively complex, so no [SGML] parser to date supports all of the standard's features. Many of these were added to cater to humans writing [SGML] documents manually, but more and more markup is machine generated. This situation eventually led to the creation of [XML]. |
1 | WikiAdmin | 6 | |
3 | StuartYeates | 7 | sgmlnorm(1) can be used to check whether [SGML] documents validate against their [DTD]. For example, if a [HTML] file contains a proper document type declaration like |
1 | WikiAdmin | 8 | |
2 | AristotlePagaltzis | 9 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
1 | WikiAdmin | 10 | |
4 | JohnMcPherson | 11 | then sgmlnorm(1) can validate it against [W3C]'s __strict.dtd__ and report any violations (such as having text not contained in __<P>__ or __<DIV>__ tags). [Debian] users can install the __opensp__ package to get this and other [SGML] parsing tools. (__opensp__ is the actively developed fork of the old __sp__ - (SGML Parsing) package.) |
3 | StuartYeates | 12 | |
13 | ---- | ||
14 | CategoryStandards |
lib/blame.php:177: Warning: Invalid argument supplied for foreach()