Configuration settings for the eXist documentation app.
config:app-info($node as node(), $model as map(*)) as item()*
For debugging: generates a table showing all properties defined : in the application descriptors.
$node | $node |
$model | $model |
config:app-meta($node as node(), $model as map(*)) as element()*
$node | $node |
$model | $model |
config:app-title($node as node(), $model as map(*)) as xs:string
$node | $node |
$model | $model |
config:expath-descriptor() as element()
Returns the expath-pkg.xml descriptor for the current application.
config:get-resource-path($base-collection as xs:string, $resource as xs:string) as xs:string?
Finds the full path of (the first instance of) some resource underneath a collection, given its name. If the resource holds a path it is stripped first. The name is returned including a relative path.
$base-collection | $base-collection |
$resource | $resource |
config:repo-descriptor() as element()
Returns the repo.xml descriptor for the current application.
config:resolve($relPath as xs:string) as item()*
Resolve the given path using the current application context (for if the app resides in the file system):
$relPath | $relPath |
local:get-resource-path($base-collection as xs:string, $resource as xs:string, $sub-path as xs:string?) as xs:string?
$base-collection | $base-collection |
$resource | $resource |
$sub-path? | $sub-path? |