Question

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.

Which implies that there are markup languages which are non-declarative (use of the word often). I suspect this is not the case - Are there any non-declarative markup languages?

Was it helpful?

Solution

CFML (Coldfusion Markup Language) and o:XML(object-oriented XML) are two non-declarative markup languages:

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.

References

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top