Combinators


Text.XML.HaXml.Combinators is a combinator library for generating, editing, and transforming XML documents in a generic setting.

Text.XML.HaXml.Html.Generate is a small library of functions specifically for generating HTML from XML.

Text.XML.HaXml.Wrappers contains the wrapper processXmlWith, in which input files are parsed as HTML if the filename ends in .html or .htm - otherwise they are parsed as XML.

Usage: import Text.XML.HaXml.Combinators

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.