&gt; well, the best practical way i know is to use Template Haskell / DrIFT<br><br><span id="_user_newsham@lava.net">That's too bad.&nbsp; I was hoping we could trivially solve Tim Newsham's XML problem by importing HaXml, automatically deriving Data and Typeable for HaXml's 'Content' data type, and then use 'everywhereM' from 
</span><a href="http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Generics-Schemes.html">Data.Generics.Schemes</a> <span id="_user_newsham@lava.net">to do his stateful XML transformation.<br><br>-Greg</span>
<br>