Import tags from MacDive

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-05-05 15:31:26 +03:00 committed by Dirk Hohndel
parent 973713e9db
commit 55a7715be0

View file

@ -67,7 +67,16 @@
</xsl:attribute>
<xsl:attribute name="tags">
<xsl:value-of select="entryType"/>
<xsl:for-each select="tags/tag|entryType">
<xsl:choose>
<xsl:when test="position() = 1">
<xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat(',', .)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:attribute>
<xsl:variable name="delta">