12 ms·
now, I am an old fart. you shouldn't really listen to me, but here it goes: XML and xslt. I have been using it with SSAX (XML and the scheme programming langua
by bjoli 7y ago
now, I am an old fart. you shouldn't really listen to me, but here it goes: XML and xslt.
I have been using it with SSAX (XML and the scheme programming language, married in harmony) since 2005. It allows for structured documents that can be validated against a doctype in milliseconds and you can output whatever formats you wish.
I made a "documentation" doctype in 2005 and has used that to output documentation in whatever format I wanted (html, plain text, latex, markdown). Sure, it requires you to write XSLT or scheme using SSAX, but at least it will be your own fault whenever the tooling falls short.
my personal website is written XML, and generated server side using guile scheme and SSAX. I have been laughing quietly to myself every time people complain about the shortcomings of whatever markup their static site generator uses. Whenever I have had a need for something else, I can quickly edit my DTD in a backwards compatible way and add whatever sxslt transformations I need.
All that editing of HTML3.2 in notepad.exe made me immune to the ugliness of a light XML markup.
- emmanueloga_ 7y agoNice! I think it is not chance that XML and Lisp pair so well. After all, XSLT evolved from DSSSL that was based on a subset of scheme! [1] I've been using XSLT3 with Saxon-HE [2] + Clojure these days and I'm quite enjoying it. I use RelaxNG for validation (may sprinkle a bit of Schematron in the future). Another pairing of XML and Lisp that I remember is Qexo [3]. 1: https://en.wikipedia.org/wiki/Document_Style_Semantics_and_Specification_Language https://en.wikipedia.org/wiki/Document_Style_Semantics_and_S... 2: http://saxonica.com/products/products.xml http://saxonica.com/products/products.xml 3: https://www.gnu.org/software/qexo/ https://www.gnu.org/software/qexo/