Re: [Haskell-cafe] Children elements with HXT

2009-12-23 Thread Max Cantor
That stuffed me up for a bit. I wrote some ugly template haskell a while back to automatically generate XmlPickler instances. can send to you if you want On Dec 23, 2009, at 7:55 AM, Tony Morris wrote: Adding (a_remove_whitespace,v_1) as a parser option when running solves it. Silly me.

Re: [Haskell-cafe] Children elements with HXT

2009-12-23 Thread Martijn van Steenbergen
Max Cantor wrote: That stuffed me up for a bit. I wrote some ugly template haskell a while back to automatically generate XmlPickler instances. can send to you if you want I recall typLAB writing about generic XML picklers: http://blog.typlab.com/2009/11/writing-a-generic-xml-pickler/

[Haskell-cafe] Children elements with HXT

2009-12-22 Thread Tony Morris
I am trying to parse XML using HXT following http://www.haskell.org/haskellwiki/HXT/Conversion_of_Haskell_data_from/to_XML Here is my XML file (way.xml): way id=27776903 visible=true timestamp=2009-05-31T13:39:15Z version=3 changeset=1368552 user=Matt uid=70 tag k=access v=private/ tag

Re: [Haskell-cafe] Children elements with HXT

2009-12-22 Thread Tony Morris
Adding (a_remove_whitespace,v_1) as a parser option when running solves it. Silly me. Tony Morris wrote: I am trying to parse XML using HXT following http://www.haskell.org/haskellwiki/HXT/Conversion_of_Haskell_data_from/to_XML Here is my XML file (way.xml): way id=27776903 visible=true