[Haskell-beginners] Help in reading XML into a data type with HXT

Michael Orlitzky michael at orlitzky.com
Sat Jan 24 18:19:02 UTC 2015

On 01/24/2015 12:29 PM, Alexis Praga wrote:
> <animelist> 
>   <title>Bleach</title>
>   <title>Naruto</title>
> </animelist>

HXT is picky about whitespace, you have to tell it to ignore those
leading spaces.


  runX  ( xunpickleDocument xpAnimeList [ withRemoveWS yes ] src)


More information about the Beginners mailing list