diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-01-24 17:03:18 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-24 14:51:24 -0800 |
commit | 3b8643af4ff9ae3372f51f51f5b51a032239d852 (patch) | |
tree | b6dc81deb97fbb67216eb24dab18e8f72c0a6276 /xslt | |
parent | 14f96fc4ded335ace92e42b51a6420da02689f66 (diff) | |
download | subsurface-3b8643af4ff9ae3372f51f51f5b51a032239d852.tar.gz |
Fix detection of numeric field
Discarding header lines was faulty as the test whether dive number was
numeric did not work properly.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/manualcsv2xml.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt index 50fc241e8..e7f295566 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -85,7 +85,7 @@ </xsl:choose> </xsl:variable> - <xsl:if test="$number >= 0"> + <xsl:if test="number($number) = $number"> <dive> <xsl:attribute name="date"> <xsl:choose> |