XQuery Function Documentation

Search and Browse

docbook:load

docbook:load($node as node(), $model as map(*), $q as xs:string?, $doc as xs:string?, $field as xs:string) as item()*

Load a docbook document. If a query was specified, re-run the query on the document to get matches highlighted.

Parameters:
$node $node
$model $model
$q? $q?
$doc? $doc?
$field $field
Returns:
item()*

docbook:to-html

docbook:to-html($node as node(), $model as map(*)) as item()*

Transform the docbook fragment given in $model.

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

docbook:toc

docbook:toc($node as node(), $model as map(*)) as item()*

Generate a table of contents.

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

docbook:toc-db5

docbook:toc-db5($node as node()) as element()

Parameters:
$node $node
Returns:
element()