blob: 493e6e924208473abb55e7f018037774662789f6 [file] [log] [blame]
(: Name: ForExprType071 :)
(: Description: FLWOR expressions with type declaration. Attempt type declaration of processing-instruction() with name specifier, 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("foo") in data( ($input-context//fs:Folder)[1]/fs:File/fs:FileName )
return $test