xhtml - A Haskell XHTML combinator library

Description

This is a version of the standard Text.Html module, modified to produce XHTML 1.0. There are modules for XHTML 1.0 Strict, Frameset and Transitional.

The original Html combinator library was written by Andy Gill. He has some notes on using the Haskell Html library which are mostly applicable also to this library.

API Documentation

Haddock-generated API documentation

Download

Darcs

$ darcs get --partial http://www.cs.chalmers.se/~bringert/darcs/haskell-xhtml/

Tarball

Latest release: xhtml-2006.9.13.tar.gz

You can also use xhtml-latest.tar.gz which should always redirect you to the latest release tarball.

Installation

  1. Unpack the sources and enter the source directory:
    $ tar -zxf xhtml-2006.9.13.tar.gz
    $ cd xhtml-2006.9.13
    
  2. Configure:
    $ runghc Setup.hs configure
    
  3. Build:
    $ runghc Setup.hs build
    
  4. Install (as root):
    # runghc Setup.hs install
    

Maintainer

bjorn@bringert.net

License

See LICENSE.