Subject: [xsl] Line endings fix ( �A to =0D=0A= conversion) From: Neil Smith <neil@xxxxxxxxxxxxxxx> Date: Tue, 08 Apr 2003 21:34:38 +0100 |
Hi all - fixed my 2nd problem thansk to a url here : http://www.biglist.com/lists/xsl-list/archives/200009/msg00840.html
<xsl:template match="description"> <xsl:call-template name="break"> <xsl:with-param name="text" select="." /> </xsl:call-template> <xsl:text>
</xsl:text> </xsl:template>
<xsl:template name="break"> <xsl:param name="text" select="."/> <xsl:choose> <xsl:when test="contains($text, '
')"> <xsl:value-of select="substring-before($text, '
')"/> <xsl:text>=0D=0A=
</xsl:text> <xsl:call-template name="break"> <xsl:with-param name="text" select="substring-after($text,'
')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$text"/> </xsl:otherwise> </xsl:choose> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl templates, Removing s, Michael Kay | Thread | [xsl] Static stylesheet, Kevin . Gutch |
RE: [xsl] xsl templates, Removing s, David Carlisle | Date | Re: [xsl] generate-id and page-numb, J.Pietschmann |
Month |