1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <!-- |
---|
4 | Stylesheet to view current VxWorks IOCs from the findings XML file. |
---|
5 | |
---|
6 | //IocDir[@current="1" and @cpu!="x86" and @cpu!="x86_64"] |
---|
7 | |
---|
8 | xsltproc find-vxworks-iocs.xsl findings-beams.xml > find-vxworks-iocs.html |
---|
9 | --> |
---|
10 | |
---|
11 | <xsl:stylesheet |
---|
12 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
13 | version="1.0" |
---|
14 | > |
---|
15 | |
---|
16 | <xsl:output method="html"/> |
---|
17 | |
---|
18 | <xsl:template match="/"> |
---|
19 | <xsl:apply-templates select="Sagan"/> |
---|
20 | </xsl:template> |
---|
21 | |
---|
22 | <xsl:template match="Sagan"> |
---|
23 | <html> |
---|
24 | <body> |
---|
25 | <small> |
---|
26 | data collected: <xsl:value-of select="@date"/> UTC |
---|
27 | </small> |
---|
28 | <h1>current VxWorks IOCs</h1> |
---|
29 | <table border="2"> |
---|
30 | <tr> |
---|
31 | <th bgcolor="lightgray">IOC</th> |
---|
32 | <th bgcolor="lightgray">cpu</th> |
---|
33 | <th bgcolor="lightgray">architecture</th> |
---|
34 | <th bgcolor="lightgray">synApps</th> |
---|
35 | <th bgcolor="lightgray">VxWorks boot file</th> |
---|
36 | </tr> |
---|
37 | <xsl:apply-templates select="//IocDir"/> |
---|
38 | </table> |
---|
39 | <hr /> |
---|
40 | <center> |
---|
41 | <small> |
---|
42 | Report rendered by $Id: find-vxworks-iocs.xsl 1547 2014-04-22 18:56:18Z jemian $ |
---|
43 | </small> |
---|
44 | </center> |
---|
45 | </body> |
---|
46 | </html> |
---|
47 | </xsl:template> |
---|
48 | |
---|
49 | <xsl:template match="IocDir"> |
---|
50 | <xsl:if test="@current='1'"> |
---|
51 | <!-- //IocDir[@current="1" and @cpu!="x86" and @cpu!="x86_64"] --> |
---|
52 | <tr valign="top"> |
---|
53 | <td><tt><xsl:value-of select="@name"/></tt></td> |
---|
54 | <td><tt><xsl:value-of select="@cpu"/></tt></td> |
---|
55 | <td><tt><xsl:value-of select="@architecture"/></tt></td> |
---|
56 | <td><tt><xsl:value-of select="@release"/></tt></td> |
---|
57 | <td><tt><xsl:value-of select="vxworks_boot_file"/></tt></td> |
---|
58 | </tr> |
---|
59 | </xsl:if> |
---|
60 | </xsl:template> |
---|
61 | |
---|
62 | </xsl:stylesheet> |
---|
63 | |
---|
64 | <!-- |
---|
65 | ########### SVN repository information ################### |
---|
66 | # $Date: 2014-04-22 18:56:18 +0000 (Tue, 22 Apr 2014) $ |
---|
67 | # $Author: jemian $ |
---|
68 | # $Revision: 1547 $ |
---|
69 | # $HeadURL: topdoc/branches/xml_2014-03-31/src/discover/find-vxworks-iocs.xsl $ |
---|
70 | # $Id: find-vxworks-iocs.xsl 1547 2014-04-22 18:56:18Z jemian $ |
---|
71 | ########### SVN repository information ################### |
---|
72 | --> |
---|