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