A set of helper functions to access the application context from within a module.
config:access-allowed($path as xs:string, $user as xs:string) as xs:boolean
$path | $path |
$user | $user |
config:app-info($node as item()*) as item()*
For debugging: generates a table showing all properties defined in the application descriptors.
$node* | $node* |
config:expath-descriptor() as element()
Returns the expath-pkg.xml descriptor for the current application.
config:get-configuration() as element()
config:repo-descriptor() as element()
Returns the repo.xml descriptor for the current application.