3 ms·
> XML was inspired by HTML No. HTML used to be "an application" of SGML. Meaning HTML brings a profile for SGML features (formerly, an SGML declaration determi
by tannhaeuser 6y ago
> XML was inspired by HTML
No. HTML used to be "an application" of SGML. Meaning HTML brings a profile for SGML features (formerly, an SGML declaration determining things such as allowing tag inference and other minimization) plus a DTD grammar. Though HTML has also quirks for script/style elements, and URLs.
OTOH, XML, like SGML, is a markup meta-language and a proper subset of SGML (also with a fixed SGML declaration disallowing tag inference and almost all other minimization features). XML was introduced by W3C (the SGML "extended review board") as the markup meta-language for new vocabularies on the web going forward around 1997 to eventually replace HTML. While that hasn't happened, SVG and MathML have been specified using XML.
Details on (my pages) below.
[1]: http://sgmljs.net/blog/blog1701.html http://sgmljs.net/blog/blog1701.html (the "TALK" slides)
[2]: https://www.youtube.com/watch?v=jy-b4jeJSas https://www.youtube.com/watch?v=jy-b4jeJSas
- dragonwriter 6y ago> > XML was inspired by HTML > No. HTML used to be "an application" of SGML. The “No” is wrong. It's true that HTML used to be an SGML application, but that doesn't contradict that XML was inspired by HTML. Specifically: (1) First, HTML was an SGML application. (2) Then the Web took over, making HTML a very popular SGML application. (3) Then, inspired by the design of HTML, but seeking broader application without the complexity of unconstrained SGML, XML was created.