Newbie question: how to run HaXML in Unix

Hello everybody, This seems so simple question, but I did not find the solution. HaXML is installed. Do you know how I can run HaXML in Linux/Unix (which command I should write). Thank you.

Huong Nguyen
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
participants (2)
-
Huong Nguyen
-
Malcolm Wallace