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>
This commit is contained in:
Martin Long 2014-12-09 23:24:49 +00:00 committed by Dirk Hohndel
parent aa74cd8802
commit 24ac35e107

View file

@ -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>