added haskell support
added automate xml format command line