Utilities for easy, flexible writing of well-formed XML. The basic interface in this package is XMLStream, which is a stateful stream for beginning and ending tags, as well as outputting single "lines" (xml tags that surround a text node and no other child nodes). A suite of implementations is provided.

A first attempt as simplifying XML reading is provided with the xpath utilities in XMLUtils.