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

Alexis Praga alexispraga at mailoo.org
Sat Jan 24 18:56:43 UTC 2015


On Sat, Jan 24, 2015 at 01:19:02PM -0500, Michael Orlitzky wrote:
> HXT is picky about whitespace, you have to tell it to ignore those
> leading spaces.
> 
> Try,
> 
>   runX  ( xunpickleDocument xpAnimeList [ withRemoveWS yes ] src)
> 
> instead.

Thanks, I was going in circles there !

-- 
Alexis Praga, PhD Student (CERFACS)
GPG key : AD4A AF6D BB5C 042F 9422  1223 06E1 C1BF E287 65D0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/beginners/attachments/20150124/8fbafe54/attachment.sig>


More information about the Beginners mailing list