XQuery Function Documentation

Search and Browse

http://exist-db.org/xquery/apps/config

/db/apps/packageservice/modules/config.xqm

A set of helper functions to access the application context from within a module.

config:app-info#2

config:app-info($node as node(), $model as map(*)) as item()

For debugging: generates a table showing all properties defined in the application descriptors.

Parameters:
$node
$model
Returns:
item()*

config:app-meta#2

config:app-meta($node as node(), $model as map(*)) as element()

Parameters:
$node
$model
Returns:
element()*

config:expath-descriptor#0

config:expath-descriptor() as element()

Returns the expath-pkg.xml descriptor for the current application.

Returns:
element()

config:repo-descriptor#0

config:repo-descriptor() as element()

Returns the repo.xml descriptor for the current application.

Returns:
element()

config:resolve#1

config:resolve($relPath as xs:string) as item()

Resolve the given path using the current application context. If the app resides in the file system,

Parameters:
$relPath
Returns:
item()*