blob: e196ee44f07e6a98935df10618e37f1e1126b51b [file] [log] [blame]
(: Name: unabbreviatedSyntax-22 :)
(: Description: Evaluate "child::employee[fn:position() = fn:last()-1]" Selects the last but one "employee" child of the context node. :)
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
for $h in ($input-context1/works)
return $h/child::employee[fn:position() = fn:last()-1]