mblakele / xqueryparser.xq

An parser for XQuery 3.0 and MarkLogic extensions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xqueryparser.xq

An parser for XQuery 3.0 and MarkLogic extensions.

Author: John Snelson Feb 17, 2012
Version: 0.1

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

About

An parser for XQuery 3.0 and MarkLogic extensions.

License:Apache License 2.0


Languages

Language:XQuery 100.0%