1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method="html" /> <!-- encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>-->
4 <xsl:template match="/">
7 <title>SAlomeTools log</title>
8 <style type="text/css">
12 border-collapse:collapse;
15 td { vertical-align : center; padding: 15px; }
16 h1 { text-align : center; }
17 .legend { font-weight : bold;
20 .def { font-family: Arial, Verdana, "Times New Roman", Times, serif;}
21 hr.note { color: #BFBFBF; }
22 .note { text-align : right; font-style: italic; font-size: small; }
23 div.release { -moz-column-count: 2;
27 .OK2 { color:#00AA00; }
28 .KO2 { color:#FF0000; }
32 <body class="def" bgcolor="aliceblue">
33 <h1><img src="LOGO-SAT.png"/></h1>
36 <xsl:for-each select="SATcommand/Site/@*">
37 <td bgcolor="LightBlue">
38 <th><xsl:value-of select="name(.)"/></th>
43 <xsl:for-each select="SATcommand/Site/@*">
44 <td bgcolor="Beige"><xsl:value-of select="."/></td>
49 <h1>command's internal traces</h1>
50 <PRE><xsl:value-of select="SATcommand/Log"/></PRE>
54 <xsl:for-each select="SATcommand/Links/link">
56 <td bgcolor="LightBlue">
57 <xsl:value-of select="@launchedCommand"/>
60 <xsl:if test="@passed='0'">
62 <xsl:attribute name="title">Click for more information</xsl:attribute>
63 <xsl:attribute name="class">OK2</xsl:attribute>
64 <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
65 <xsl:value-of select="@command"/>
68 <xsl:if test="@passed='1'">
70 <xsl:attribute name="title">Click for more information</xsl:attribute>
71 <xsl:attribute name="class">KO2</xsl:attribute>
72 <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
73 <xsl:value-of select="@command"/>
84 <xsl:attribute name="title">Click to open in an editor</xsl:attribute>
85 <xsl:attribute name="href"><xsl:value-of select="SATcommand/OutLog"/></xsl:attribute>
86 <xsl:attribute name="download"><xsl:value-of select="SATcommand/OutLog"/></xsl:attribute>
90 <xsl:variable name="txtLog">
91 <xsl:value-of select="SATcommand/OutLog"/>
93 <iframe src="{$txtLog}" frameborder="0" class="center" width="100%" height="1500000" scrolling="no"></iframe>