Skip to content

Commit

Permalink
Removed centres.xml (closed #247)
Browse files Browse the repository at this point in the history
  • Loading branch information
margaretha committed May 24, 2024
1 parent 9d7489d commit a8bbc35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 374 deletions.
369 changes: 0 additions & 369 deletions SIS/clarin/data/centres.xml

This file was deleted.

10 changes: 5 additions & 5 deletions SIS/clarin/views/kpi.xq
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import module namespace cm = "http://clarin.ids-mannheim.de/standards/centre-mod
:)

let $depositioncentres := cm:get-deposition-centres("CLARIN")
let $numOfBCentres := fn:count($depositioncentres)
let $numOfBCentresWithRecommendations := cm:count-number-of-centres-with-recommendations($depositioncentres)
let $percentage := format-number($numOfBCentresWithRecommendations div $numOfBCentres,'0%')
let $numOfDepositionCentres := fn:count($depositioncentres)
let $numOfDepositionCentresWithRecommendations := cm:count-number-of-centres-with-recommendations($depositioncentres)
let $percentage := format-number($numOfDepositionCentresWithRecommendations div $numOfDepositionCentres,'0%')

return

Expand Down Expand Up @@ -66,11 +66,11 @@ return
<table style="width:600px; border-collapse:collapse;">
<tr>
<td class="column">CLARIN deposition centres recorded in the SIS</td>
<td class="column">{$numOfBCentres}</td>
<td class="column">{$numOfDepositionCentres}</td>
</tr>
<tr>
<td class="column">Number of deposition centres that have provided information (and recorded that in the SIS)</td>
<td class="column">{$numOfBCentresWithRecommendations}</td>
<td class="column">{$numOfDepositionCentresWithRecommendations}</td>
</tr>
<tr>
<td class="column">KPI "Collections of standards and mappings" as represented in the SIS </td>
Expand Down

0 comments on commit a8bbc35

Please sign in to comment.