XQuery Function Documentation

Search and Browse

http://exist-db.org/xquery/simple-ql

java:org.exist.xquery.modules.simpleql.SimpleQLModule

A module for a simple query language parser

simpleql:parse-simpleql

simpleql:parse-simpleql($expression as xs:string?) as xs:string?

Translates expressions in a simple query language to an XPath expression. A single search term is translated into '. &= term', 'and'/'or' used to combine terms, quotes define a phrase and are translated into near(., 'quoted terms').

Parameters:
$expression? The expression to parse
Returns:
xs:string? : the result