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: December 6, 2016 | 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 steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=12043
ArticleTitle=XML Matters: Transcending the limits of DOM, SAX, and XSLT
publish-date=10012001