cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel ARNOD-PRIN <sarnodp...@smile.ch>
Subject Change from 1.8.2 -> 1.8.3- dev : how to generate a '<' in html with xsl ??
Date Mon, 21 May 2001 13:07:51 GMT
Hello,

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>


at the final, I've got :
<tr>
	<td> col...</td>
	<td> col...</td>
	<td> col...</td>
	<td> col...</td>
</tr>

<tr>
	<td> col...</td>
	<td> col...</td>
	<td> col...</td>
	<td> col...</td>
</tr>

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


Mime
View raw message