Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
3 | <xsl:output method="html" omit-xml-declaration="yes"/> |
---|
4 | |
---|
5 | <xsl:param name="action" /> |
---|
6 | <xsl:param name="img" /> |
---|
7 | <xsl:param name="img_1" /> |
---|
8 | <xsl:param name="height" /> |
---|
9 | <xsl:param name="width" /> |
---|
10 | |
---|
11 | <xsl:template match="files"> |
---|
12 | <div style="margin:5px;"> |
---|
13 | <span style="margin-left:5px;"><img src="{$img}" style="margin-right:5px;"/><xsl:value-of select="$action"/></span> |
---|
14 | <div style="width:{($width)-30}px; height:{($height)-70}px; padding:2px !important; border:1px solid #000; overflow-y: auto;"> |
---|
15 | <xsl:for-each select="links/lk"> |
---|
16 | <xsl:sort select="."/> |
---|
17 | <img src="{$img_1}" style="margin-right:2px;"/> |
---|
18 | <span style="margin-left:2px;"> |
---|
19 | <a href="{@function}"> |
---|
20 | <xsl:value-of select="."/> |
---|
21 | </a> |
---|
22 | </span> |
---|
23 | <br/> |
---|
24 | </xsl:for-each> |
---|
25 | </div> |
---|
26 | </div> |
---|
27 | </xsl:template> |
---|
28 | |
---|
29 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.