Project

General

Profile

1
for \$x in
2
	collection('/db/DRIVER/RepositoryServiceResources/RepositoryServiceResourceType')
3
where
4
	\$x//DATASOURCE_TYPE = '$type$'
5
return
6
	concat(\$x//RESOURCE_IDENTIFIER/@value, ' @=@ ', \$x//OFFICIAL_NAME, ' @=@ ', \$x//DATASOURCE_ORIGINAL_ID, ' @=@ ', string-join(\$x//INTERFACE/@id, ','), ' @=@ true'),
7
for \$x in
8
	collection('/db/DRIVER/PendingRepositoryResources/RepositoryServiceResourceType')
9
where
10
	\$x//DATASOURCE_TYPE = '$type$'
11
return
12
	concat(\$x//RESOURCE_IDENTIFIER/@value, ' @=@ ', \$x//OFFICIAL_NAME, ' @=@ ', \$x//DATASOURCE_ORIGINAL_ID, ' @=@ ', string-join(\$x//INTERFACE/@id, ','), ' @=@ false')
(5-5/5)