A set of helper functions to access the application context from within a module.
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 text()
$node | $node |
$model | $model |
config:atom-url-from-feed($feed as node()) as item()*
$feed | $feed |
config:entry-url-from-entry($entry as element()) as item()*
$entry | $entry |
config:expath-descriptor() as element()
Returns the expath-pkg.xml descriptor for the current application.
config:feed-from-entry($entry as element()) as item()*
$entry | $entry |
config:feed-url($feed as element()) as item()*
$feed | $feed |
config:feed-url-from-entry($entry as element()) as item()*
$entry | $entry |
config:get-entries($feed as element(), $id as xs:string?, $wikiId as xs:string?) as element()*
$feed | $feed |
$id? | $id? |
$wikiId? | $wikiId? |
config:get-entries($feed as element(), $id as xs:string?, $wikiId as xs:string?, $recurse as xs:boolean) as element()*
$feed | $feed |
$id? | $id? |
$wikiId? | $wikiId? |
$recurse | $recurse |
config:get-template($feed as element()) as item()*
$feed | $feed |
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. If the app resides in the file system,
$relPath | $relPath |
config:resolve-feed($feed as xs:string) as item()*
$feed | $feed |
config:resolve-resource($feed as xs:string, $resource as xs:string) as item()*
$feed | $feed |
$resource | $resource |