blob: 51db7c3a51280ac9c5750111c46f99057c31a423 [file] [log] [blame]
(: XQuery Join Query :)
(: Find the all the records for TMIN. :)
count(
let $sensor_collection_min := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
for $r_min in collection($sensor_collection_min)/dataCollection/data
where $r_min/dataType eq "TMIN"
return $r_min
)