declare default element namespace "http://www.w3.org/XQueryTestOrderBy"; | |
(: name : validateexpr-2 :) | |
(: description : Evaluation of a validate expression with newly constructed Element node and strict validation.:) | |
(: insert-start :) | |
import schema "http://www.w3.org/XQueryTestOrderBy"; | |
declare variable $input-context1 external; | |
(: insert-end :) | |
let $var := <Strings><orderData>one string</orderData></Strings> | |
return | |
validate strict {$var} |