Brackets and commas for colocations
This commit is contained in:
parent
752500dda9
commit
1d7805d9c6
14
view.xsl
14
view.xsl
|
@ -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)>1">
|
<xsl:when test="count(../pomen)>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="kolokacija//* | r_kolokacija//*">
|
<xsl:template match="kolokacije//ks">
|
||||||
<xsl:text xml:space="preserve"> </xsl:text>
|
<xsl:text xml:space="preserve">(</xsl:text>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
|
<xsl:text xml:space="preserve">) </xsl:text>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="k[not(position()=last())]">
|
||||||
|
<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…
Reference in New Issue
Block a user