calendar.xsl für Zeitangabe im title-attribute ergänzt

This commit is contained in:
vv01f 2014-02-08 00:01:28 +01:00
parent 6b68446f19
commit bf8aaefcf3
2 changed files with 1808 additions and 1812 deletions

File diff suppressed because it is too large Load Diff

View File

@ -122,23 +122,20 @@
<a>
<!-- a/@href -->
<xsl:if test="string-length(link) &gt; 0">
<xsl:attribute name="href">
<xsl:call-template name="make-href">
<xsl:with-param name="href" select="link"/>
</xsl:call-template>
</xsl:attribute>
<xsl:attribute name="href">
<xsl:call-template name="make-href">
<xsl:with-param name="href" select="link"/>
</xsl:call-template>
</xsl:attribute>
</xsl:if>
<!-- a/@title -->
<xsl:if test="string-length(location) &gt; 0">
<xsl:attribute name="title">
<xsl:value-of select="concat('Ort: ', location)"/>
<!-- Hier soll die Dauer bzw. Beginn/Ende ergänzt werden, bisher fehlt noch die humankompatible Formatierung -->
<!--
<xsl:value-of select="concat('Beginn: ', start)"/>
<xsl:value-of select="concat('Ende: ', end)"/>
-->
</xsl:attribute>
</xsl:if>
<xsl:if test="string-length(location) &gt; 0">
<xsl:attribute name="title">
<xsl:value-of select="concat('Ort: ', location)"/>
<!-- Hier wurde die Zeit ergänzt -->
<xsl:value-of select="concat(' &#xA;Zeit: ', date:time(start), '&#160;-&#160;', date:time(end))"/>
</xsl:attribute>
</xsl:if>
<!-- string(a) -->
<xsl:value-of select="title"/>
</a>