/[PAMELA software]/quicklook/dataToXML/Data/DownloadReportTemplate.xsl
ViewVC logotype

Contents of /quicklook/dataToXML/Data/DownloadReportTemplate.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (as text) (vendor branch)
Tue Apr 25 09:00:20 2006 UTC (18 years, 7 months ago) by kusanagi
Branch: MAIN
CVS Tags: dataToXML1_02/01, dataToXML1_02/00, dataToXML1_03/00, dataToXML1_03/01, dataToXML1_00/00, firstRelease, dataToXML1_01/00, dataToXML1_03_02, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: application/xml
These program extract in an XML format the info contained into the ROOT files generated by YODA from the PAMELA data. To visualize the XML files in a more human readable format a collection of XSL files are given in the Data subfolder.

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>

  ViewVC Help
Powered by ViewVC 1.1.23