I’m currently writing a (hopefully) complete and comprehensive tutorial about monads in Haskell. I’m writing it in an XML document type I specifically made up for this kind of articles. Some of you found it very convenient, so I decided to make it available here under a BSD3 license.
The package contains a Relax NG description of the document type as well as an XSLT stylesheet for XHTML output. For your convenience, I also included a Makefile, which makes validating the XML input and creating XHTML output easy. However, you need GNU make to use it.
Download:
Side note: Some browsers, including Firefox, support viewing XML documents with an XSLT stylesheet directly, so you don’t need to process them to XHTML first. That makes them convenient to use for article authors.