Changes

Jump to navigation Jump to search
616 bytes added ,  20:00, 11 April 2012
|-
| valign='top' | '''Summary'''
|Returns all text nodes that have {{Mono|$string}} as their string value. If available, the value index is used to speed up evaluation.
|-
| valign='top' | '''Examples'''
|
* {{Mono|db:text("DB", "QUERY")/..}} returns the parents of all text nodes of the database {{Mono|DB}} that match the string {{Mono|QUERY}}.
|}
 
==db:text-range==
{|
|-
| valign='top' width='90' | '''Signatures'''
|{{Mono|'''db:text-range'''($db as item(), $min as xs:string, $max as xs:string) as text()*}}
|-
| valign='top' | '''Summary'''
|Returns all text nodes that are located in between the {{Mono|$min}} and {{Mono|$max}} strings. If available, the value index is used to speed up evaluation.
|-
| valign='top' | '''Examples'''
|
* {{Mono|db:text-range("DB", "2000", "2001")}} returns all text nodes of the database {{Mono|DB}} that are found in between {{Mono|2000}} and {{Mono|2001}}.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu