Use Cases

Cases for extending XQuery

The use case described below and made available for download is user submitted and as such we accept no responsibility for its content!

The raw submitted use case data is also available here: http://www.exquery.org/standards/use-cases/942d4be9-b2ef-4c13-9d8a-b8a767fd8cbb.xml

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