opensubscriber
   Find in this group all groups
 
The Haskell Cafe more information…

h : haskell-cafe@haskell.org 23 September 2005 • 3:14AM -0400

Re: [Haskell-cafe] Newbie question: how to run HaXML in Unix
by Malcolm Wallace

REPLY TO AUTHOR
 
REPLY TO GROUP






Huong Nguyen <hiperfume@gmai...> writes:

> HaXML is installed. Do you know how I can run HaXML in Linux/Unix (which
> command I should write). Thank you.

That depends what you want to do with it.

HaXml is a library of modules for processing XML, so one answer to your
question is "just write some code"!  The API is documented at
    http://haskell.org/HaXml/HaXml
and to compile your code in GHC, you would use a command like
    ghc -package HaXml MyCode.hs

HaXml also has some associated command-line tools, e.g. DtdToHaskell,
which generates code corresponding to a particular XML DTD.  You can
run it like
    DtdToHaskell Foo.dtd Foo.hs
and the generated source code uses the library mentioned above, so must
therefore be compiled with the -package HaXml flag as before.
It is all documented at
    http://haskell.org/HaXml

Regards,
    Malcolm
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@hask...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.