20:13:07 <bogiebro> what is Happstack.Data.Xml used for? any handy tutorials?
20:27:44 <stepkut> bogiebro: it can be used to automatically create XML representations of your types
20:28:07 <bogiebro> how do you get that representation into a response?
20:28:10 <stepkut> bogiebro: the serialization system used to actually save the state as XML and used that, but the state system uses a binary format now
20:28:18 <stepkut> toPublicXML I think
20:29:02 <bogiebro> are there any tutorials online about how to use it?
20:29:17 <stepkut> one way to use it is to have your serverparts return a value of some custom type, then you use toPublicXML to convert it into XML, and xslt to convert it into HTML etc
20:29:36 <stepkut> there are no tutorials that I know of. That part of the code has not received much love
20:30:22 <bogiebro> has it been used to write anything whose code I could browse?
20:31:18 <stepkut> not that I know of... basically you used $(deriveNewData [''MyType]) so that your type has instances for Default and syb-with-class, and then you do, toPublicXml (MyConstructor 1), or something
20:31:29 <stepkut> do you have something specific in mind that you want to do with it ?
20:32:00 <bogiebro> no- currently I'm just trying to get my bearings with happstack
20:32:04 <stepkut> if you are using happstack-state, it could be useful as a way to export your state as XML for backup purposes (or to export it into a different system, etc)
20:32:09 <stepkut> ah
20:32:45 <stepkut> i'll add a section to the happstack crash course on in someday, but there are other things that are higher priority at the moment
20:33:34 <bogiebro> thanks
20:46:02 <stepkut> if you are playing with it and get stuck, you can ask me questions thoguh