Many markup languages such as HTML, MXML, XAML, XSLT or other user-interface markup languages are often declarative. HTML, for example, only describes what should appear on a webpage - it does not specify the possible interactions with that webpage.
这意味着存在非声明性的标记语言(经常使用这个词)。我怀疑情况并非如此 - 是否有非声明性标记语言?
最佳答案
CFML(Coldfusion 标记语言)和 o:XML(面向对象的 XML)是两种非声明性标记语言:
CFML tags are essentially much more powerful versions of Java Tag Libraries, and with CFML's ECMAScript-like syntax you'll feel right at home.
o:XML is a complete object oriented programming language, with features including polymorphism, function overloading, exception handling, threads and more. The syntax is fully compliant XML. With o:XML, object-oriented paradigms can be leveraged to the maximum, while data and code remains in a standard format. With o:XML there is no 'impedance mismatch' when developing XML web-applications, tools and systems.
引用文献
关于markup - 非声明性标记语言,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18577367/