XML Matters, Transcending the limits of DOM, SAX, and XSLT

The HaXml functional programming model for XML

From the developerWorks archives

David Mertz

Date archived: May 14, 2019 | First published: October 01, 2001

Consider Haskell in lieu of DOM, SAX, or XSLT for processing XML data. The library HaXml creates representations of XML documents as native recursive data structures in the functional language Haskell. HaXml brings with it a set of powerful higher order functions for operating on these "datafied" XML documents. Many of the HaXml techniques are far more elegant, compact, and powerful than the ones found in familiar techniques like DOM, SAX, or XSLT. Code samples demonstrate the techniques.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

ArticleTitle=XML Matters: Transcending the limits of DOM, SAX, and XSLT