Database Reference
In-Depth Information
jsonp
Description
Transforming XML into JSONP
Namespace
jsonp="http://www.jsonp.org"
Type/default status
XQuery; enabled in $EXIST_HOME/conf.xml
Location
resource:org/exist/xquery/lib/jsonp.xq
This module transforms (data-centric) XML into JSON , which is wrapped inside a
named JavaScript function. This usage pattern is known as JSONP. The module con‐
tains a number of functions, but the only really useful one is its main entry point,
jsonp:xml-to-jsonp . The first argument is the XML node to convert to JSON, and
the second is the name to use for the JavaScript function wrapper.
kwic
Description
Keywords in context
Namespace
kwic="http://exist-db.org/xquery/kwic"
Type/default status
XQuery; enabled in $EXIST_HOME/conf.xml
Location
resource:org/exist/xquery/lib/kwic.xql
This module allows you to easily show fragments of text found in full-text or NGram
search operations. The module is described in “Using Keywords in Context” on page
297 .
 
Search WWH ::




Custom Search