Re: [Haskell-cafe] HXT from schema to data model
Hello Pierre-Edouard, Is there a way to generate a data model and a set of picklers from an XML (or RelaxNG) Schema using the HXT tool box? the generation of a DTD out of the picklers is in an experimental stage. The generation of a RelaxNG Schema is technically possible, but it's an open project. It's on our TODO list for HXT. Validation with RelaxNG within HXT is complete. What is missinig is a complete datatype library for XML Schema Datatypes. The still missing part of the W3C XML Schema datatype library are the datatypes for date and time, all others are implemented. Cheers, Uwe -- Uwe Schmidt FH Wedel http://www.fh-wedel.de/~si/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] HXT from schema to data model
Hi! Is there a way to generate a data model and a set of picklers from an XML (or RelaxNG) Schema using the HXT tool box? Thank You, Pierre-Edouard ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] HXT from schema to data model
On Sun, Sep 07, 2008 at 03:35:40PM +0200, Pierre-Edouard Portier wrote: Hi! Is there a way to generate a data model and a set of picklers from an XML (or RelaxNG) Schema using the HXT tool box? not that I'm aware of. There's something for generating a data type and an access interface from DTD. See, in hxt source code: examples/arrows/dtd2hxt/DTDtoHXT.hs nothing for picklers. and nothing from RelaxNG (even the validator is not complete). in HaXml there could be something worth having a look to (that depends on what you are actually search for). I had a similar problem some time ago and was looking for something like that to implement CSL (and XML macro language for citation formatting), but I handed up writing all the needed boilerplate code, for the data type and the pickler deserializer. Anyway, drop a line if you find (or write) something. Cheers, Andrea ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe