Changeset e70d271d in subsurface


Ignore:
Timestamp:
Dec 31, 2016, 5:13:27 AM (12 months ago)
Author:
Miika Turkia <miika.turkia@…>
Branches:
master
Children:
47d77bc
Parents:
2ce1b4e
Message:

Import AV1 alerts

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

Signed-off-by: Miika Turkia <miika.turkia@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/av1.xslt

    r2ce1b4e re70d271d  
    5959            </xsl:attribute>
    6060          </xsl:when>
     61          <xsl:when test="substring-before($line, '=') = 'Alert'">
     62            <event>
     63              <xsl:attribute name="time">
     64                <xsl:value-of select="substring-before($remaining, ' ')"/>
     65              </xsl:attribute>
     66              <xsl:attribute name="name">
     67                <xsl:value-of select="substring-after($line, '= ')"/>
     68              </xsl:attribute>
     69            </event>
     70          </xsl:when>
    6171        </xsl:choose>
    6272      </xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.