Skip to content

Latest commit

 

History

History
38 lines (19 loc) · 917 Bytes

File metadata and controls

38 lines (19 loc) · 917 Bytes

xqueryparser.xq

A parser for XQuery 3.0, XQuery Update, XQuery Full Text, and MarkLogic XQuery extensions.

Author: John Snelson Feb 17, 2012
Version: 0.2

Table of Contents

Functions

parse($module as xs:string
) as  element()

Parses the XQuery module in the string argument. The module string is returned marked up in elements, with attributes adding statically analysed values like unescaped string values, and lexical QNames resolved to expanded QNames.

Params

  • $module as xs:string: XQuery module passed as a string

Returns

  • element(): A marked up copy of the XQuery module, or an error element detailing the parse error encountered.

Generated by xquerydoc