1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
| <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:param name="name"/>
<xsl:template match="/">
<head>
<meta http-equiv="Content-Language" content="fr"> </meta>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta>
<link rel="STYLESHEET" type="text/css" href="styles.css"> </link>
</head>
<body>
</body>
</xsl:template>
<xsl:decimal-format grouping-separator=" " decimal-separator="," name="formatnb"/>
<xsl:template name="TITRETAB">
<xsl:param name="p1"/>
<xsl:param name="p2"/>
<xsl:param name="p3"/>
<xsl:param name="p4"/>
<table border="1" cellspacing="0" cellpadding="4" width="100%">
<tr bgcolor="#FFCC00">
<td class="info_da" width="20%"><xsl:value-of select="$p1"/></td>
<td class="info_da" width="15%"><xsl:value-of select="$p2"/></td>
<td class="info_da" width="15%"><xsl:value-of select="$p3"/></td>
<td class="info_da" width="50%"><xsl:value-of select="$p4"/></td>
</tr>
<tr class="index">
<xsl:for-each select="FA/*/Folder">
<xsl:sort select="./name" order="ascending" data-type="number"/>
<xsl:if test="./name=$name">
<font color="#FFCC00" face='arial' size='1'>
<tr class ="index" nowrap="">
<td class="liste_da" width="20%"><xsl:value-of select="./name"/></td>
<td class="liste_da" width="15%"><xsl:value-of select="./owner"/></td>
<td class="liste_da" width="15%"><xsl:value-of select="./status"/></td>
<td class="liste_da" width="50%"><xsl:value-of select="./description"/></td>
</tr>
</font>
</xsl:if>
</xsl:for-each>
</tr>
</table>
</xsl:template>
</xsl:stylesheet> |
Partager