- <xsl:if test="$list != ''">
- <xsl:variable name="before"
- select="substring-before(concat($list, '/'), '/')"/>
- <xsl:variable name="after"
- select="substring-after($list, '/')"/>
-
- <v>
- <xsl:value-of select="$before"/>
- </v>
-
- <xsl:call-template name="split-poem">
- <xsl:with-param name="list" select="$after"/>
- </xsl:call-template>
- </xsl:if>
+ <xsl:template mode="poem" match="wers_normalny|wers_cd|wers_wciety|wers_akap">
+ <v><xsl:apply-templates mode="inline"/></v>