8 Mar
2005
8 Mar
'05
8:34 a.m.
I plan to write an XML serialization routine and would like to have per field behavior depend on whether the datatype of the field implements ToElement. In particular I want things that do not derive ToElement to be rendered as attributes and things that do implement ToElement to be rendered as child nodes. Is that possible using template haskell or do I have to add some sort of naming convention that signals it? -Alex- ______________________________________________________________ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com