dnet50/modules/dnet-springboot-apps/trunk/dnet-is-application/src/main/resources/templates/findReposMap.xquery @ 46482
1 |
for $x in |
---|---|
2 |
recordCollection('/db/DRIVER/entity/datasource') |
3 |
where
|
4 |
$x//NUMBER_OF_OBJECTS != 0 and not($x//LATITUDE = 0 and $x//LONGITUDE = 0) |
5 |
return
|
6 |
<ds> |
7 |
<dsId>{$x//RESOURCE_IDENTIFIER/@value/string()}</dsId> |
8 |
<name>{$x//OFFICIAL_NAME/text()}</name> |
9 |
<lat>{$x//LATITUDE/text()}</lat> |
10 |
<lng>{$x//LONGITUDE/text()}</lng> |
11 |
</ds> |