Changeset 5db7d4bc in subsurface


Ignore:
Timestamp:
Jan 1, 2017, 12:47:03 AM (5 months ago)
Author:
Miika Turkia <miika.turkia@…>
Branches:
master
Children:
49964a5
Parents:
47d77bc
Message:

AV1 import: fix indentation

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/av1.xslt

    r47d77bc r5db7d4bc  
    4848      <xsl:when test="string(number(substring($line, 1, 1))) != 'NaN'">
    4949        <sample>
    50         <xsl:call-template name="printFields">
    51           <xsl:with-param name="line" select="$line"/>
    52           <xsl:with-param name="lineno" select="'0'"/>
    53         </xsl:call-template>
     50          <xsl:call-template name="printFields">
     51            <xsl:with-param name="line" select="$line"/>
     52            <xsl:with-param name="lineno" select="'0'"/>
     53          </xsl:call-template>
    5454        </sample>
    5555      </xsl:when>
     
    9494      </xsl:call-template>
    9595    </xsl:variable>
    96       <xsl:attribute name="time">
    97         <xsl:value-of select="substring-before($value, ':') * 60 + substring-after($value, ':')" />
    98       </xsl:attribute>
     96    <xsl:attribute name="time">
     97      <xsl:value-of select="substring-before($value, ':') * 60 + substring-after($value, ':')" />
     98    </xsl:attribute>
    9999
    100       <xsl:variable name="depth">
    101         <xsl:call-template name="getFieldByIndex">
    102           <xsl:with-param name="index" select="$depthField"/>
    103           <xsl:with-param name="line" select="$line"/>
    104         </xsl:call-template>
    105       </xsl:variable>
    106       <xsl:attribute name="depth">
    107         <xsl:value-of select="translate($depth, ',', '.')"/>
    108       </xsl:attribute>
     100    <xsl:variable name="depth">
     101      <xsl:call-template name="getFieldByIndex">
     102        <xsl:with-param name="index" select="$depthField"/>
     103        <xsl:with-param name="line" select="$line"/>
     104      </xsl:call-template>
     105    </xsl:variable>
     106    <xsl:attribute name="depth">
     107      <xsl:value-of select="translate($depth, ',', '.')"/>
     108    </xsl:attribute>
    109109  </xsl:template>
    110110
Note: See TracChangeset for help on using the changeset viewer.