dnet50/modules/dnet-core-services/trunk/src/main/resources/eu/dnetlib/enabling/datasources/templates/findRepoApis.xquery.st @ 41842
1 |
for \$x in |
---|---|
2 |
collection('/db/DRIVER/RepositoryServiceResources/RepositoryServiceResourceType')//INTERFACE[$cond$] |
3 |
return
|
4 |
<ROW> |
5 |
<REPO |
6 |
id="{\$x/../../../../HEADER/RESOURCE_IDENTIFIER/@value/string()}" |
7 |
name="{\$x/../../OFFICIAL_NAME/text()}" |
8 |
country="{\$x/../../COUNTRY/text()}" |
9 |
prefix="{\$x/../..//EXTRA_FIELDS/FIELD[./key='NamespacePrefix']/value}" /> |
10 |
{\$x} |
11 |
</ROW> |