diff options
author | Martin Long <martin@longhome.co.uk> | 2014-12-09 23:24:49 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-10 08:14:34 -0700 |
commit | 24ac35e1078eff404391a506f5518960d357b408 (patch) | |
tree | 2eed5476d5d92bc05245c59d65fc317c5ecafccc | |
parent | aa74cd8802f53e23be2be233ae166113a7f30486 (diff) | |
download | subsurface-24ac35e1078eff404391a506f5518960d357b408.tar.gz |
Prevent UserID from being 'stuffed' into the start of UDDF export.
Due to there being no xsl template for the userID, it ended up getting
inserted at the start of the output. This adds an empty template to
map the <settings> element, preventing this erronious insertion.
Signed-off-by: Marton Long <martin@longhome.co.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | xslt/uddf-export.xslt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index c7004eed4..d80e637ed 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -7,6 +7,8 @@ <xsl:key name="gases" match="cylinder" use="concat(substring-before(@o2, '.'), '/', substring-before(@he, '.'))" /> <xsl:key name="images" match="picture" use="concat(../../dive/@number|../dive/@number, ':', @filename, '@', @offset)" /> + <xsl:template match="/divelog/settings"/> + <xsl:template match="/divelog/dives"> <uddf version="3.2.0"> <generator> |