[xquery-talk] Global variables in XQuery
martin at x-hive.com
Thu Oct 5 18:21:29 PDT 2006
> The right way to implement a counter for instrumentation purposes is
> probably by calling an extension function.
The easiest way is probably to simply use fn:trace(), the built-in
debugging function. Extensions functions with side-effects are not
much of an improvement over something like saxon:assign in my opinion.
More information about the talk