Import AV1 alerts

This imports the events from AV1 using the original event description.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2016-12-31 15:13:27 +02:00
parent 2ce1b4e668
commit e70d271d44

View file

@ -58,6 +58,16 @@
<xsl:value-of select="substring-before(substring-after($line, '= '), ' ')"/>
</xsl:attribute>
</xsl:when>
<xsl:when test="substring-before($line, '=') = 'Alert'">
<event>
<xsl:attribute name="time">
<xsl:value-of select="substring-before($remaining, ' ')"/>
</xsl:attribute>
<xsl:attribute name="name">
<xsl:value-of select="substring-after($line, '= ')"/>
</xsl:attribute>
</event>
</xsl:when>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>