blob: 5f5626d77bbb4d04cf37ffb062bbc61a79fae11f [file] [log] [blame]
(: Name: ForExprType069 :)
(: Description: FLWOR expressions with type declaration. Attempt type declaration of processing-instruction() on a set of values :)
declare namespace fs="http://www.example.com/filesystem";
(: insert-start :)
declare variable $input-context external;
(: insert-end :)
for $test as processing-instruction() in data( ($input-context//fs:Folder)[1]/fs:File/fs:FileName )
return $test