1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
|
3
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
4
|
version="2.0"
|
5
|
>
|
6
|
|
7
|
<xsl:output method="html" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
|
8
|
|
9
|
<xsl:template match="/">
|
10
|
<xsl:for-each select="//field">
|
11
|
<xsl:variable name="field" select="@name"></xsl:variable>
|
12
|
<xsl:variable name="label" select="@label"></xsl:variable>
|
13
|
<table class="table table-striped" ng-hide="browse_{$field}_showAll">
|
14
|
<xsl:for-each select="./value">
|
15
|
<tr ng-hide="browse_{$field}_showAll">
|
16
|
<th>
|
17
|
<a href="javascript:void(0)" data-dismiss="modal" ng-click="updateQueryWithValue('{$field}', '{@name}', 1500)">
|
18
|
<xsl:value-of select="@name"/>
|
19
|
</a>
|
20
|
</th>
|
21
|
<td class="text-right">
|
22
|
<xsl:value-of select="@size"/>
|
23
|
</td>
|
24
|
</tr>
|
25
|
</xsl:for-each>
|
26
|
</table>
|
27
|
</xsl:for-each>
|
28
|
</xsl:template>
|
29
|
</xsl:stylesheet>
|