mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
format for readability
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
878dd1f518
commit
3e2a410f93
1 changed files with 96 additions and 2 deletions
|
@ -13,10 +13,104 @@
|
|||
<xsl:template match="/divelog/dives">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$units = 1">
|
||||
<xsl:value-of select="concat('"dive number"', $fs, '"date"', $fs, '"time"', $fs, '"duration (min)"', $fs, '"maxdepth (ft)"', $fs, '"avgdepth (ft)"', $fs, '"mode"', $fs, '"airtemp (F)"', $fs, '"watertemp (F)"', $fs, '"cylinder size (cuft)"', $fs, '"startpressure (psi)"', $fs, '"endpressure (psi)"', $fs, '"o2 (%)"', $fs, '"he (%)"', $fs, '"location"', $fs, '"gps"', $fs, '"divemaster"', $fs, '"buddy"', $fs, '"suit"', $fs, '"rating"', $fs, '"visibility"', $fs, '"notes"', $fs, '"weight (lbs)"', $fs, '"tags"')"/>
|
||||
<xsl:value-of select="concat(
|
||||
'"dive number"',
|
||||
$fs,
|
||||
'"date"',
|
||||
$fs,
|
||||
'"time"',
|
||||
$fs,
|
||||
'"duration (min)"',
|
||||
$fs,
|
||||
'"maxdepth (ft)"',
|
||||
$fs,
|
||||
'"avgdepth (ft)"',
|
||||
$fs,
|
||||
'"mode"',
|
||||
$fs,
|
||||
'"airtemp (F)"',
|
||||
$fs,
|
||||
'"watertemp (F)"',
|
||||
$fs,
|
||||
'"cylinder size (cuft)"',
|
||||
$fs,
|
||||
'"startpressure (psi)"',
|
||||
$fs,
|
||||
'"endpressure (psi)"',
|
||||
$fs,
|
||||
'"o2 (%)"',
|
||||
$fs,
|
||||
'"he (%)"',
|
||||
$fs,
|
||||
'"location"',
|
||||
$fs,
|
||||
'"gps"',
|
||||
$fs,
|
||||
'"divemaster"',
|
||||
$fs,
|
||||
'"buddy"',
|
||||
$fs,
|
||||
'"suit"',
|
||||
$fs,
|
||||
'"rating"',
|
||||
$fs,
|
||||
'"visibility"',
|
||||
$fs,
|
||||
'"notes"',
|
||||
$fs,
|
||||
'"weight (lbs)"',
|
||||
$fs,
|
||||
'"tags"')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="concat('"dive number"', $fs, '"date"', $fs, '"time"', $fs, '"duration (min)"', $fs, '"maxdepth (m)"', $fs, '"avgdepth (m)"', $fs, '"mode"', $fs, '"airtemp (C)"', $fs, '"watertemp (C)"', $fs, '"cylinder size (l)"', $fs, '"startpressure (bar)"', $fs, '"endpressure (bar)"', $fs, '"o2 (%)"', $fs, '"he (%)"', $fs, '"location"', $fs, '"gps"', $fs, '"divemaster"', $fs, '"buddy"', $fs, '"suit"', $fs, '"rating"', $fs, '"visibility"', $fs, '"notes"', $fs, '"weight (kg)"', $fs, '"tags"')"/>
|
||||
<xsl:value-of select="
|
||||
concat('"dive number"',
|
||||
$fs,
|
||||
'"date"',
|
||||
$fs,
|
||||
'"time"',
|
||||
$fs,
|
||||
'"duration (min)"',
|
||||
$fs,
|
||||
'"maxdepth (m)"',
|
||||
$fs,
|
||||
'"avgdepth (m)"',
|
||||
$fs,
|
||||
'"mode"',
|
||||
$fs,
|
||||
'"airtemp (C)"',
|
||||
$fs,
|
||||
'"watertemp (C)"',
|
||||
$fs,
|
||||
'"cylinder size (l)"',
|
||||
$fs,
|
||||
'"startpressure (bar)"',
|
||||
$fs,
|
||||
'"endpressure (bar)"',
|
||||
$fs,
|
||||
'"o2 (%)"',
|
||||
$fs,
|
||||
'"he (%)"',
|
||||
$fs,
|
||||
'"location"',
|
||||
$fs,
|
||||
'"gps"',
|
||||
$fs,
|
||||
'"divemaster"',
|
||||
$fs,
|
||||
'"buddy"',
|
||||
$fs,
|
||||
'"suit"',
|
||||
$fs,
|
||||
'"rating"',
|
||||
$fs,
|
||||
'"visibility"',
|
||||
$fs,
|
||||
'"notes"',
|
||||
$fs,
|
||||
'"weight (kg)"',
|
||||
$fs,
|
||||
'"tags"')"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text>
|
||||
|
|
Loading…
Reference in a new issue