print out xquery sequence and exit -
is there way "die" in execution flow in xquery file , output nicely formatted printout of sequence variable?
i'm trying like:
return { fn:error(xs:qname("error"), $xml) }
but doesn't quite seem work.
thanks!
based on comment (you need debugging) guess looking fn:trace
function, described here http://www.xqueryfunctions.com/xq/fn_trace.html
if want abort execution flow , output error in application should in fact use xquery exception handling.
Comments
Post a Comment