https://github.com/jpcs/xqueryparser.xq
Raw File
Tip revision: 4e72e6da0f24a2119d60805148ceb21ff754a7ed authored by John Snelson on 11 February 2013, 13:43:24 UTC
Implemented XQuery Update and Full Text
Tip revision: 4e72e6d
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](#func_parse_1)


## Functions

### <a name="func_parse_1"/> parse\#1
```xquery
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](https://github.com/xquery/xquerydoc)*
back to top