On Wed, 2013-12-04 at 19:59 -0800, Joe Templeman wrote: > Hi all, > > Is there a way to output unescaped XML to a string for debugging purposes? > In unittests we would like to output the XML returned when a test fails, > here is my example: [...] > || " Got: " || fn:serialize($result)) > return $u > }; > > But when a test fails, I get escaped XML as the output. Is there any way to > get this as actual XML?
( "Input: ", $case/input/text(), " Expected: " , $case/output, "Got:", $result) || " Got: " || as a sequence... Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk