declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; | |
(: name : orderBy6 :) | |
(: description : Evaluation of "order by" clause with the "order by" clause of a FLWR expression set to "concat($x,"another String After") ", where $x is a set of Strings and the ordering mode set to descending :) | |
(: insert-start :) | |
declare variable $input-context1 external; | |
(: insert-end :) | |
<results> { | |
for $x in $input-context1/DataValues/Strings/orderData | |
order by concat($x,"another String After") descending return concat($x,"another String After") | |
} | |
</results> |