cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Change from 1.8.2 -> 1.8.3- dev : how to generate a '<' in html with xsl ??
Date Mon, 21 May 2001 16:48:11 GMT
On Mon, 21 May 2001, Samuel ARNOD-PRIN wrote:

> I was using Cocoon 1.8.2 and had track to add a '<tr>' in html I was
> using this in XSL : &lt;tr&gt;
> and this became <tr> in the finally html
>
> but now with the 1.8.3-dev version, I have &lt;tr&gt; in HTML which is
> unuseful... where does it come from ? what can I do ??
>
> I have to do this in fact (I've got always 4x mytages)
>
>
> <xsl:for-each select="mytags">
> 	<xsl:if test="position() mod 4 = 1>
> 			&lt;tr&gt;
> 	</xsl:if>
>
> 	<td>COLUMN OK</td>
>
> 	<xsl:if test="position() mod 4 = 0>
> 			&lt;/tr&gt;
> 	</xsl:if>
>
> </xsl:foreach>

read up in any XSLT FAQ or book about how to do this without disabling
output escaping. c1 does not, in fact, allow you to disable output
escaping - but there's no reason to resort to that hack in this case.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message