Has there ever been any competitive markup language to X/HTML?

This is a question I was wondering about for some time now, but couldn't quite find what I looked for on google.

What I'm wondering is, has there been any competitive markup language to X/HTML, that was essentially supposed to do the same job as HTML, but:

  • is rendered directly (without actually being compiled down to x/html)
  • is not just using a borrowed HTML-alike syntax (yes, I'm aware of SGML, which is widely known as the precursor of modern HTML)
  • The other thing is, I can see why HTML is popular: Its syntax is very easy to learn, no (overly awful) hidden black magic, it's a straight away markup language that does exactly what it says on the tin.

    When people think of markup languages, they usually think of HTML. Markdown is compiled to HTML, so is every wiki syntax semi-language. But there has got to be someone (or some company) who had a similar idea, and thusly tried to create a markup language that would fulfill similar, if not the same requirements.

    I find it kind of hard to believe that there has never been any competitive markup language. Or has there really never been any?


    Well, there's Rich Text Format which, although as far as I know never developed to be written by hand, nevertheless is human readable:

    {rtf1ansi{fonttblf0fswiss Helvetica;}f0pard
    This is some {b bold} text.par
    }
    

    On the other hand, there's PostScript which, while also being a Turing-complete programming language, is used to mark up documents.

    %!PS
    /Courier             % name the desired font
    20 selectfont        % choose the size in points and establish 
                         % the font as the current one
    72 500 moveto        % position the current point at 
                         % coordinates 72, 500 (the origin is at the 
                         % lower-left corner of the page)
    (Hello world!) show  % stroke the text in parentheses
    showpage             % print all on the page
    

    I'm sure there are more languages in the same vein. Looking for related articles on Wikipedia, InterPress comes up, for instance.


    1) TeX

    2) http://en.wikipedia.org/wiki/List_of_document_markup_languages


    You might find http://www.w3.org/MarkUp/historical interesting.

    There are loads of other document formats and markup languages but they don't really compete directly with HTML as such. Any potential competitor would have to overcome the fact that HTML (+CSS+JS) has become a sort of "universal language for everything" (ie it runs on everything, everywhere).

    链接地址: http://www.djcxy.com/p/88830.html

    上一篇: 使用XSLT从网站提取数据

    下一篇: X / HTML是否有过竞争标记语言?