|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Global variables in XQueryMichael Kay mhk at mhk.me.ukThu Oct 5 18:00:12 PDT 2006
> 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. The improvement is that it's far more visible to the user that they're in unsupported territory. fn:trace() doesn't explicitly give you a counter, though I guess with a custom tracelistener you could make it work that way. But that's not very different from an extension function either. Michael Kay http://www.saxonica.com/
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






