2020-09-25 12:39:08 +02:00
|
|
|
declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry';
|
|
|
|
for $profiles in collection('/db/Profiles/RuntimeResource')//Document/Data/ic:Profile/Resource
|
2012-12-28 17:45:48 +01:00
|
|
|
let $scopes := string-join( $profiles/Scopes//Scope/text(), ';')
|
2020-09-25 12:39:08 +02:00
|
|
|
let $subtype := $profiles/Profile/Category/text()
|
2012-12-28 17:45:48 +01:00
|
|
|
<RES_SUBTYPE ISdefault =''/>
|
|
|
|
return
|
2013-09-11 18:40:58 +02:00
|
|
|
<RESOURCE/>
|
|
|
|
|