XQuery Function Documentation

Search and Browse

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

/db/apps/public-repo/modules/config.xqm

Configuration options for the application and a set of helper functions to access the application context.

config:app-info

config:app-info($node as node(), $params as element()?, $modes as item()*) as item()*

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

Parameters:
$node $node
$params? $params?
$modes* $modes*
Returns:
item()*

config:expath-descriptor

config:expath-descriptor() as element()

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

Returns:
element()

config:log-col

config:log-col($date as xs:date) as item()*

Parameters:
$date $date
Returns:
item()*

config:log-doc

config:log-doc($date as xs:date) as item()*

Parameters:
$date $date
Returns:
item()*

config:log-doc-name

config:log-doc-name($date as xs:date) as item()*

Parameters:
$date $date
Returns:
item()*

config:log-subcol

config:log-subcol($date as xs:date) as item()*

Parameters:
$date $date
Returns:
item()*

config:repo-descriptor

config:repo-descriptor() as element()

Returns the repo.xml descriptor for the current application.

Returns:
element()

config:repo-permissions

config:repo-permissions() as map(*)

Returns the user and group from the repo.xml descriptor.

Returns:
map(*)