9 lines
593 B
Plaintext
9 lines
593 B
Plaintext
declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry';
|
|
for $profiles in collection('/db/Profiles/GenericResource')//Document/Data/ic:Profile/Resource, $wsresource in collection('/db/Properties')//Document
|
|
let $scopes := string-join( $profiles/Scopes//Scope/text(), ';')
|
|
let $subtype := $profiles//Resource/Profile/SecondaryType/text()
|
|
where $subtype = "DataSource" and $profiles/ID eq $wsresource/SourceKey and $wsresource/Data//child::*[local-name()='ServiceName']/string() eq 'tree-manager-service'
|
|
<RES_SUBTYPE ISdefault =''/>
|
|
return
|
|
<RESOURCE/>
|
|
|