Revision 42659
Added by Sandro La Bruzzo almost 8 years ago
dc_2_row.xslt | ||
---|---|---|
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><xsl:value-of select="//*[local-name()='creator']" /><br/> |
|
19 |
<strong>Title: </strong><xsl:value-of select="//*[local-name()='title']" /><br/> |
|
20 |
<strong>Description: </strong><i><xsl:value-of select="//*[local-name()='description']" /></i><br/> |
|
21 |
<br /> |
|
22 |
<button class="btn btn-primary btn-sm" ng-click="getDocument('objidentifier', '{$id}')">show record</button> |
|
23 |
</td> |
|
24 |
</tr> |
|
25 |
</table> |
|
26 |
</div> |
|
27 |
</xsl:template> |
|
28 |
|
|
29 |
</xsl:stylesheet> |
Also available in: Unified diff
added light-ui