diff options
author | Martin Long <martin@longhome.co.uk> | 2014-12-13 00:34:34 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-12 18:26:40 -0800 |
commit | 8e923a5e35a469fd859e14b8c6ca85ec876c3ef6 (patch) | |
tree | 51e7af1769b6bd246ac39ee147c4423efec70f35 /xslt | |
parent | 8d4a3842eec7682aa7bf8de7979b2ea099a8f1d9 (diff) | |
download | subsurface-8e923a5e35a469fd859e14b8c6ca85ec876c3ef6.tar.gz |
Update UDDF export <generator> header to include madatory tags.
Add name at <generator> level, and add additional <homepage> in
contact tag.
Signed-off-by: Martin Long <martin@longhome.co.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/uddf-export.xslt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 2f7ba7056..7cdb2b216 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -12,9 +12,12 @@ <xsl:template match="/divelog/dives"> <uddf version="3.2.0"> <generator> + <name>Subsurface Divelog</name> <manufacturer id="subsurface"> <name>Subsurface Team</name> - <contact>http://subsurface-divelog.org/</contact> + <contact> + <homepage>http://subsurface-divelog.org/</homepage> + </contact> </manufacturer> <version> <xsl:value-of select="/divelog/@version"/> @@ -36,7 +39,7 @@ </mediadata> <diver> - <owner id="1"> + <owner id="owner"> <equipment> <xsl:for-each select="/divelog/settings/divecomputerid"> <divecomputer id="{./@deviceid}"> |