XQuery Function Documentation

Search and Browse

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

/db/apps/eXide/modules/config.xqm

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

config:access-allowed

config:access-allowed($path as xs:string, $user as xs:string) as xs:boolean

Parameters:
$path $path
$user $user
Returns:
xs:boolean

config:app-info

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

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

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

config:expath-descriptor

config:expath-descriptor() as element()

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

Returns:
element()

config:get-configuration

config:get-configuration() as element()

Returns:
element()

config:repo-descriptor

config:repo-descriptor() as element()

Returns the repo.xml descriptor for the current application.

Returns:
element()