blob: 156454e68fc553ab5c56269a3e90a48a907e92eb [file] [log] [blame]
(: Name: combiningnodeseqexcepthc5 :)
(: Description: Simple combination of node sequences involving multiple xml data sources and repetition of a sequence. Use "except" operator. :)
(: Use count to avoid empty file results :)
(: insert-start :)
declare variable $input-context1 external;
declare variable $input-context2 external;
(: insert-end :)
for $h in (
count(($input-context1//hours) except ($input-context2//grade,$input-context1//hours)))
order by number($h)
return $h