Revision 48821
Added by Alessia Bardi over 6 years ago
cidoc_2_row.xslt | ||
---|---|---|
40 | 40 |
<img src="../resources/img/record.png" width="80" height="80" /> |
41 | 41 |
</td> |
42 | 42 |
<td> |
43 |
<strong>Original identifier: </strong><i><xsl:value-of select="//dri:recordIdentifier" /></i><br/><br/> |
|
44 |
<strong>Data Source: </strong><i><xsl:value-of select="//dri:datasourcename" /></i><br/><br/> |
|
43 |
<strong>D-Net identifier: </strong><i><xsl:value-of select="//dri:objIdentifier" /></i><br/> |
|
44 |
<strong>Original identifier: </strong> |
|
45 |
<xsl:choose> |
|
46 |
<xsl:when test="starts-with(//dri:recordIdentifier, 'http')"> |
|
47 |
<a href="{//dri:recordIdentifier}" target="_blank"><xsl:value-of select="//dri:recordIdentifier"/></a> |
|
48 |
</xsl:when> |
|
49 |
<xsl:otherwise><xsl:value-of select="//dri:recordIdentifier"/></xsl:otherwise> |
|
50 |
</xsl:choose> |
|
51 |
<br/> |
|
52 |
<strong>Data Source: </strong><i><xsl:value-of select="//dri:datasourcename" /></i><br/> |
|
53 |
<strong>Data Source API: </strong><i><xsl:value-of select="//dri:datasourceapi" /></i><br/> |
|
45 | 54 |
<strong>Resource types: </strong> |
46 | 55 |
<xsl:for-each-group select="//rdf:Description" group-by="./rdf:type/@rdf:resource"> |
47 |
<i><xsl:value-of select="tokenize(current-grouping-key(),'/')[last()]"/></i> (<xsl:value-of select="count(current-group())"/>)<br/> |
|
56 |
<i><xsl:value-of select="tokenize(current-grouping-key(), '/')[last()]" |
|
57 |
/></i> (<xsl:value-of select="count(current-group())"/>) -- |
|
48 | 58 |
</xsl:for-each-group> |
49 |
|
|
50 |
<!--<xsl:for-each select="//rdf:Description/rdf:type"><i><xsl:value-of select="tokenize(@rdf:resource,'/')[last()]" /></i><br/></xsl:for-each><br/>--> |
|
51 |
|
|
52 |
<!--<xsl:value-of select="//rdf:RDF/*/crm:P102_has_title/crm:E35_Title/rdfs:label" /><br/>--> |
|
53 |
|
|
59 |
<br /> |
|
54 | 60 |
<strong>Notes: </strong><xsl:for-each select="//crm:P3_has_note"><i><xsl:value-of select="." /></i><br/></xsl:for-each><br/> |
55 | 61 |
<br /> |
56 | 62 |
<button class="btn btn-primary btn-sm" ng-click="getDocument('objidentifier', '{$id}')">show record</button> |
Also available in: Unified diff
Highlight minimal metadata for main entities in the light UI