cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Vindevogel <yves.vindevo...@implements.be>
Subject Re: SQLTransformer with nr2br() functionality
Date Tue, 28 Jun 2005 08:35:03 GMT
You might want to try something similar to this

        							
								<xsl:if test="number($pos mod 4) = 0" >
									<xsl:text disable-output-escaping="yes">
									<![CDATA[</tr> <tr>]]>
									</xsl:text>

								</xsl:if>


On 28 Jun 2005, at 08:32, Thomas Hiemer [nuernberg gay-web.de] wrote:

>
> Hello all
>
> It would be great if the SQLTransformer also transforms "\nr"
> automatically into "<br/>" in the output file (defined by a property in
> the sitemap). Similar like the php function nr2br()
>
> Actually you get "&#13;" in the output file and have no chance to make
> it effective in XHTML.
>
> Or are there any solutions I didn't thought about?
>
> Thanks in advance!
>
> best regards,
> thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
Met vriendelijke groeten,
Bien à vous,
Kind regards,

Yves Vindevogel
Implements


Mime
View raw message