HaXml

What is HaXml?
How do I use it?
Downloads
Recent news
Contacts
Related Work

What is HaXml?

HaXml is a collection of utilities for using Haskell and XML together. Its basic facilities include:

For processing XML documents, the following components are provided:


How do I use it?

Detailed documentation of the HaXml APIs is generated automatically by Haddock directly from the source code.

An introduction to HaXml for people who know more about XML than about Haskell can be found at IBM DeveloperWorks.

A paper describing and comparing the generic Combinators with the typed representation (DtdToHaskell/Xml2Haskell) is available here: (12 pages of double-column A4)

Some additional info about using the various facilities is here:

Known problems:


Downloads

Current version: HaXml-1.11, release date 2004.01.23
By HTTP: .tar.gz, .zip.
By FTP: ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/
FreeBSD port: http://freshports.org/textproc/haxml/

Development version: The development version of HaXml is available by anonymous CVS (write-access is also available to core Haskell developers). Read the instructions for getting ghc by CVS: http://haskell.org/ghc/docs/latest/html/building/sec-cvs.html and simply replace the project name fpconfig with HaXml.

Older versions:
By FTP: ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/

Installation

To install HaXml, you must have a Haskell compiler: ghc-5.02 or later, and/or nhc98-1.14/hmake-3.06 or later, and/or Hugs98 (Sept 2003) or later. Use

    ./configure [--prefix=...] [--buildwith=...]
    make
    make install
to configure, build, and install HaXml as a package for your compiler(s). You need write permission on the library installation directories of your compiler(s). Afterwards, to gain access to the HaXml libraries, you only need to add the option -package HaXml to your compiler commandline (no option required for Hugs). Various stand-alone tools are also built - DtdToHaskell, Xtract, Validate, MkOneOf - and copied to the final installation location specified by the --prefix=... option to configure.

Recent news

The latest version (1.11) has the following features and fixes:

The previous version (1.10) has the following features and fixes:


Complete Changelog

Contacts

We are interested in hearing your feedback on these XML facilities - suggestions for improvements, comments, criticisms, bug reports. Please mail

Development of these XML libraries was originally funded by Canon Research Europe Ltd.. Subsequent maintenance and development has been partially supported by the EPSRC, and the University of York.

License: The library is Open Source, i.e., the bits we wrote are copyright to us, but freely licensed for your use, modification, and re-distribution, provided you don't restrict anyone else's use of it. HaXml is distributed under the Artistic License - see file LICENSE for more details. (If you don't like the licensing conditions, please contact us to discuss your requirements.)


Related work