Brackets and commas for colocations

master
Ozbolt Menegatti 6 years ago
parent 752500dda9
commit 1d7805d9c6

@ -45,7 +45,7 @@
<div style="float: left; margin-left: 0.5em; color: #999999; font-weight: bold;"> <div style="float: left; margin-left: 0.5em; color: #999999; font-weight: bold;">
<xsl:choose> <xsl:choose>
<xsl:when test="count(../pomen)&gt;1"> <xsl:when test="count(../pomen)&gt;1">
<xsl:value-of select="position()"/> <xsl:value-of select="position()"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
@ -110,10 +110,16 @@
</span> </span>
<xsl:text xml:space="preserve"> </xsl:text> <xsl:text xml:space="preserve"> </xsl:text>
</xsl:template> </xsl:template>
<xsl:template match="kolokacije//ks">
<xsl:text xml:space="preserve">(</xsl:text>
<xsl:apply-templates/>
<xsl:text xml:space="preserve">) </xsl:text>
</xsl:template>
<xsl:template match="kolokacija//* | r_kolokacija//*"> <xsl:template match="k[not(position()=last())]">
<xsl:text xml:space="preserve"> </xsl:text>
<xsl:apply-templates/> <xsl:apply-templates/>
<xsl:text xml:space="preserve">, </xsl:text>
</xsl:template> </xsl:template>
<xsl:template match="enota | stalna_zveza//zveza"> <xsl:template match="enota | stalna_zveza//zveza">

Loading…
Cancel
Save