markup - 非声明性标记语言

标签 markup declarative

Wikipedia states :

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/

相关文章:

Scala for comprehension - yield w/a complex filter

prolog - 为什么这个 Prolog Fibonacci 函数会导致 "instantiation_error"?

php - 在 Wordpress 中将 HTML 标记添加到 $wpdb 结果

python - 解析文本以替换引号和嵌套引号

html - Flat-ui 选择下拉菜单不起作用

database - SQLAlchemy 声明性 + 跨多个不同数据库的关系

用于匹配分支 Jenkins 声明性管道的正则表达式

jquery - 使用 bootstrap3 在桌面上使用垂直导航栏,在移动设备上使用水平导航栏 3

asp.net - 从 ASP.NET 标记设置 UserControl 属性值

haskell - 为什么 Haskell 是完全声明式的?