[Haskell] Weaving the Web with Haskell

andrew cooke andrew at acooke.org
Tue Feb 3 14:53:41 EST 2004


HaXml doesn't explicitly handle namespaces, but they appear in the
attribute name.  I've used HaXml on Windows (actually, a subset of the
modules) to implement a simple template engine that relies on an XML
namespace to call functions in Haskell.

So, for example

<p hal:someFun="a b c"/>
is converted into
<p>output from some function called with the arguments a b and c</p>

Andrew

Graham Klyne said:
[...]
> hoped.  Other packages, such as HaXml, seem to be more portable but as far
> as I'm aware are missing key functionality (notably XML namespace
> support).
[...]
-- 
personal web site: http://www.acooke.org/andrew
personal mail list: http://www.acooke.org/andrew/compute.html


More information about the Haskell mailing list