XmlLib


XmlLib is a combinator library for generating, editing, and transforming XML documents in a generic setting. It includes a small library for functions specifically for generating HTML from XML. Input files are parsed as HTML if the filename ends in .html or .htm - otherwise they are parsed as XML.

Usage: import XmlLib

Limitations
Note that the combinator library defines the functions elm and txt rather than the expected (elem and text), to avoid a nasty name clash with a Prelude function.