debug:get-line-number
by JIm Fuller, on 2009-03-27T12:53:41.333-07:00
when using XQuery to create applications, it is often the requirement to manage errors thrown by the application, especially if you are using XQuery as a parser, processing some XML document. We should investigate defining a function that makes it easier to return, there are 2 scenarios that I have identified:* line numbers from a source XML document* line numbers from nested XQuery module