1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
version="2.0"
|
4
|
>
|
5
|
|
6
|
<xsl:output method="html" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
|
7
|
|
8
|
<xsl:template match="/">
|
9
|
<xsl:variable name="id" select="//*[local-name() = 'objIdentifier']"/>
|
10
|
|
11
|
<div class="well">
|
12
|
<table>
|
13
|
<tr>
|
14
|
<td style="width: 120px">
|
15
|
<img src="../resources/img/record.png" width="80" height="80"/>
|
16
|
</td>
|
17
|
<td>
|
18
|
<strong>Author:</strong>
|
19
|
<xsl:value-of select="//*[local-name()='creator']"/>
|
20
|
<br/>
|
21
|
<strong>Title:</strong>
|
22
|
<xsl:value-of select="//*[local-name()='title']"/>
|
23
|
<br/>
|
24
|
<strong>Description:</strong>
|
25
|
<i>
|
26
|
<xsl:value-of select="//*[local-name()='description']"/>
|
27
|
</i>
|
28
|
<br/>
|
29
|
<br/>
|
30
|
<button class="btn btn-primary btn-sm" ng-click="getDocument('objidentifier', '{$id}')">show record</button>
|
31
|
</td>
|
32
|
</tr>
|
33
|
</table>
|
34
|
</div>
|
35
|
</xsl:template>
|
36
|
|
37
|
</xsl:stylesheet>
|