Changes

Jump to navigation Jump to search
24 bytes removed ,  18:33, 1 December 2023
m
Text replacement - "<syntaxhighlight lang="xquery">" to "<pre lang='xquery'>"
The request <code>http://localhost:8080/rest?run=multiply&a=21&b=2</code> assigns two variables and invokes <code>multiply.xq</code>:
<syntaxhighlight pre lang="'xquery"'>
(: XQuery file: multiply.xq :)
declare variable $a as xs:integer external;
The request <code>http://localhost:8080/rest?run=sum&n=3&n=4&n=5</code> assigns multiple values to the same variable:
<syntaxhighlight pre lang="'xquery"'>
(: XQuery file: sum.xq :)
declare variable $n as xs:integer* external;
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu