Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An parser for XQuery 3.0 and MarkLogic extensions.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
samples
LICENSE
README.md
xqueryparser.xq

README.md

library module: http://github.com/jpcs/xqueryparser.xq

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#1

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

Something went wrong with that request. Please try again.