forked from D-Net/dnet-hadoop
changed XQuery to select only community and ri with status not hidden
This commit is contained in:
parent
b34177d8ef
commit
53656600ad
|
@ -19,7 +19,7 @@ public class QueryInformationSystem {
|
||||||
+ " let $communities := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::zenodocommunities')]/concept "
|
+ " let $communities := $x//CONFIGURATION/context/category[./@id=concat($x//CONFIGURATION/context/@id,'::zenodocommunities')]/concept "
|
||||||
+
|
+
|
||||||
"let $zenodo := $x//param[./@name='zenodoCommunity']/text() "
|
"let $zenodo := $x//param[./@name='zenodoCommunity']/text() "
|
||||||
+ " where $x//CONFIGURATION/context[./@type='community' or ./@type='ri'] "
|
+ " where $x//CONFIGURATION/context[./@type='community' or ./@type='ri'] and $x//context/param[./@name = 'status']/text() != 'hidden' "
|
||||||
+ " return "
|
+ " return "
|
||||||
+ " <community> "
|
+ " <community> "
|
||||||
+ " { $x//CONFIGURATION/context/@id} "
|
+ " { $x//CONFIGURATION/context/@id} "
|
||||||
|
|
Loading…
Reference in New Issue