HTML preprocessors

XSLT-oriented macros:

Other work on XML macros:

efforts to make XML structure more terse

languages that have native first-class support for XML nodes / processing

question: is it possible to combine XSLT and XML into the same file?

forgiving HTML parsers in node.js