Changeset 47d77bc in subsurface


Ignore:
Timestamp:
Jan 1, 2017, 12:43:16 AM (8 months ago)
Author:
Miika Turkia <miika.turkia@…>
Branches:
master
Children:
5db7d4bc
Parents:
e70d271d
Message:

AV1 import: move tag definition for future changes

This should allow us to add different attributes to the samples while
parsing the log.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/av1.xslt

    re70d271d r47d77bc  
    4747    <xsl:choose>
    4848      <xsl:when test="string(number(substring($line, 1, 1))) != 'NaN'">
     49        <sample>
    4950        <xsl:call-template name="printFields">
    5051          <xsl:with-param name="line" select="$line"/>
    5152          <xsl:with-param name="lineno" select="'0'"/>
    5253        </xsl:call-template>
     54        </sample>
    5355      </xsl:when>
    5456      <xsl:otherwise>
     
    9294      </xsl:call-template>
    9395    </xsl:variable>
    94     <sample>
    9596      <xsl:attribute name="time">
    9697        <xsl:value-of select="substring-before($value, ':') * 60 + substring-after($value, ':')" />
     
    106107        <xsl:value-of select="translate($depth, ',', '.')"/>
    107108      </xsl:attribute>
    108     </sample>
    109109  </xsl:template>
    110110
Note: See TracChangeset for help on using the changeset viewer.