blob: 04de13e581b1e9abcb6caa191b7b98b70781e3a9 [file] [log] [blame]
(: Name: ForExprType070 :)
(: Description: FLWOR expressions with type declaration. Attempt type declaration of processing-instruction() with name specifier, on a set of element nodes :)
declare namespace fs="http://www.example.com/filesystem";
(: insert-start :)
declare variable $input-context external;
(: insert-end :)
for $test as processing-instruction("foo") in ($input-context//fs:Folder)[1]/fs:File/fs:FileName
return $test