Is there a tool for creating XML sorters in Haskell from XSD?

I would like to generate XML picklers for an XSD file . This seems like a useful tool that may already exist. It?

+4
source share
1 answer

HaXml has a tool for generating Haskell data types from DTD and a tool for generating Haskell data types from XSD: http://hackage.haskell.org/package/HaXml

The executables are called XsdToHaskell and DtdToHaskell.

If you are on Windows and you have PATH modified by the Haskell platform, you need to call it like this: xsdtohaskell < path_to.xsd > path_to.hs

Generated files are a good starting point.

+1
source

All Articles