> I can't really reproduce this: > A simple ghci session gives the following: > ----------------------------------- > [EMAIL PROTECTED]:~/haskell/hxt/curr/examples/arrows/HelloWorld> ghci > HelloWorld.hs > GHCi, version 6.8.1: http://www.haskell.org/ghc/ :? for help > Loading package base ... linking ... done. > [1 of 1] Compiling Main ( HelloWorld.hs, interpreted ) > Ok, modules loaded: Main. > *Main> runX $ (readString [(a_validate,v_0)] "<x> </x>" >>> > writeDocumentToString []) > Loading ... > ... > ["<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<x> </x>"]
Try "<x><y> </y></x>" and a_indent writing option. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe