Changes

Jump to navigation Jump to search
25 bytes added ,  04:06, 25 September 2018
m
drop extra 'as' in db:attribute#1
==Database Nodes==
Database nodes are XML nodes which are either stored in a persistent database, or which contained in are a sonode of a main-called ''memory database fragment''representation. All XML fragments can be converted to a main-memory database fragments by e. g. applying the [[XQuery_Update#update|update]] or [[XQuery_Update#transform|transform]] expression on an XML fragmenta node:
<pre class="brush:xquery">
copy $c db:= node-id(element hello { 'world' } modify (update {}) return $c
</pre>
|-
| width='120' | '''Signatures'''
|{{Func|db:attribute|$db as xs:string, $strings as as xs:string*|attribute()*}}<br/>{{Func|db:attribute|$db as xs:string, $strings as xs:strings*, $name as xs:string|attribute()*}}
|-
| '''Summary'''
|-
| '''Summary'''
|Returns all attribute nodes of the database {{Code|$db}}, the values of which contain one of the specified {{Code|$tokens}}.<br />If {{Code|$name}} is specified, the resulting attribute nodes are filtered by their attribute name.
|-
| '''Errors'''
* Added: [[#db:option|db:option]]
* Updated: db:output renamed to {{Function|Update|update:output}}, db:output-cache renamed to {{Function|Update|update:output-cache}}
* Updated: error codes updated; errors now use the module namespace
administrator, editor
12

edits

Navigation menu