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" version="1.0" encoding="utf-8" omit-xml-declaration="yes"/>
4
<xsl:template match="Value">
6
<td><xsl:value-of select="@severity"/></td>
7
<td><xsl:value-of select="@name"/></td>
8
<td><xsl:value-of select="@in"/></td>
9
<td><xsl:value-of select="@out"/></td>
10
<td><xsl:value-of select="@count"/></td>
11
<td><xsl:value-of select="@description"/></td>
15
<xsl:template match="/result">
17
<xsl:if test="@title">
18
<h1>List of alarms for: <xsl:value-of select="@title"/></h1>
21
<xsl:if test="//Error">
22
<span class="error"><xsl:value-of select="//Error"/></span>
25
<xsl:if test="not(//Error)">
35
<xsl:apply-templates select="Value"/>