2012-12-28 17:45:48 +01:00
|
|
|
for $profiles in collection('/db/Profiles/GHN')//Resource
|
2015-04-15 18:06:58 +02:00
|
|
|
let $gcf-version := $profiles//Resource/Profile/GHNDescription/RunTimeEnv/Variable[Key/text() = 'gCF-version']/Value/text() | $profiles//Resource/Profile/GHNDescription/RunTimeEnv/Variable[Key/text() = 'SmartGears']/Value/text()
|
|
|
|
let $ghn-version := $profiles//Resource/Profile/GHNDescription/RunTimeEnv/Variable[Key/text() = 'GHN-distribution-version']/Value/text() | $profiles//Resource/Profile/GHNDescription/RunTimeEnv/Variable[Key/text() = 'SmartGearsDistributionBundle']/Value/text()
|
2012-12-28 17:45:48 +01:00
|
|
|
let $scopes := string-join( $profiles/Scopes//Scope/text(), ';')
|
|
|
|
let $subtype := $profiles//Resource/Profile/Site/Domain/text()
|
|
|
|
<RES_SUBTYPE ISdefault =''/>
|
|
|
|
return
|
2013-09-11 18:40:58 +02:00
|
|
|
<RESOURCE/>
|