XQuery Function Documentation

Search and Browse

app:addRoot

app:addRoot($model as map(*)) as item()*

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

app:getAll

app:getAll() as map(*)

Returns:
map(*)

app:get_uri

app:get_uri($node as node()) as item()*

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

app:helloworld

app:helloworld($node as node(), $model as map(*)) as item()*

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

app:inputPrzebieg

app:inputPrzebieg($node as node(), $model as map(*), $name as xs:string?) as item()*

Parameters:
$node $node
$model $model
$name? $name?
Returns:
item()*

app:maxCountNodes

app:maxCountNodes($model as map(*)) as item()*

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

app:myCount

app:myCount($model as map(*)) as item()*

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

app:search

app:search($node as node(), $model as map(*)) as map(*)

Parameters:
$node $node
$model $model
Returns:
map(*)

app:searchPrzebieg

app:searchPrzebieg($model as map(*)) as map(*)

Parameters:
$model $model
Returns:
map(*)

app:searchTyp

app:searchTyp($model as map(*)) as map(*)

Parameters:
$model $model
Returns:
map(*)

app:searchZajezdnia

app:searchZajezdnia($model as map(*)) as map(*)

Parameters:
$model $model
Returns:
map(*)

app:selectHierarchy

app:selectHierarchy($node as node(), $model as map(*), $name as xs:string?) as item()*

Parameters:
$node $node
$model $model
$name? $name?
Returns:
item()*

app:selectZajezdnia

app:selectZajezdnia($node as node(), $model as map(*), $name as xs:string?) as item()*

Parameters:
$node $node
$model $model
$name? $name?
Returns:
item()*

app:svg

app:svg($node as node(), $model as map(*)) as item()*

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

app:test

app:test($node as node(), $model as map(*)) as item()*

This is a sample templating function. It will be called by the templating module if it encounters an HTML element with an attribute: data-template="app:test" or class="app:test" (deprecated). The function has to take 2 default parameters. Additional parameters are automatically mapped to any matching request or function parameter.

Parameters:
$node the HTML node with the attribute which triggered this call
$model a map containing arbitrary data - used to pass information between template calls
Returns:
item()*