1 |
kusanagi |
1.1 |
<?xml version="1.0" encoding="UTF-8"?> <!-- Prologo XML --> |
2 |
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- Dichiarazione del documento XSLT --> |
3 |
|
|
<!-- <xsl:stylesheet version="1.0" |
4 |
|
|
xmlns:xsl="http://www.w3.org/TR/WD-xsl"> --> |
5 |
|
|
|
6 |
|
|
<!-- |
7 |
|
|
===================================================================================== |
8 |
|
|
Stylesheet: DownloadReportTemplate.xsl |
9 |
|
|
Version: 1.0 (2005-01-19) |
10 |
|
|
Author: Maurizio Nagni |
11 |
|
|
Descr.: Format the output of the DownloadReportToXml.c script |
12 |
|
|
===================================================================================== |
13 |
|
|
--> |
14 |
|
|
|
15 |
|
|
<!--Contains all the customer specific parameters--> |
16 |
|
|
<xsl:include href="webapps/YodaPortal/WEB-INF/xslt/Configure.xsl"/> |
17 |
|
|
|
18 |
|
|
<xsl:template match="/" name="DownloadReportTemplate"> |
19 |
|
|
<html> |
20 |
|
|
<body> |
21 |
|
|
<h2>Report</h2> |
22 |
|
|
<table border="1"> |
23 |
|
|
<tr bgcolor="#1acd32"> |
24 |
|
|
<th align="center">Packet Type</th> |
25 |
|
|
<th align="center">Packet Counter</th> |
26 |
|
|
</tr> |
27 |
|
|
<xsl:for-each select="//PACKET_COUNTER"> |
28 |
|
|
<tr> |
29 |
|
|
<th align="left"><xsl:value-of select="NAME"/></th> |
30 |
|
|
<th align="left"><xsl:value-of select="VALUE"/></th> |
31 |
|
|
</tr> |
32 |
|
|
</xsl:for-each> |
33 |
|
|
</table> |
34 |
|
|
</body> |
35 |
|
|
</html> |
36 |
|
|
</xsl:template> |
37 |
|
|
|
38 |
|
|
</xsl:stylesheet> |