XQuery
Priscilla Walmsley (pwalmsley@datypic.com)
ISBN: 1491915103
2nd edition, , O'Reilly Media, Inc.
Chapter 25: Implementation-Specific Features
Please note that the book contains many inline examples and informal tables that are not provided here.
declare namespace saxon="http://saxon.sf.net/"; declare option saxon:output "saxon:indent-spaces=5";
xquery version "3.0"; declare namespace test="http://exist-db.org/xquery/xqsuite"; declare %test:args("Hello", "world") %test:assertEquals("Hello world") function local:hello($greet as xs:string, $user as xs:string) { $greet || " " || $user };