|
Subject: RE: [xsl] Can not convert number to a NodeList From: "Carlos M. S. Bento Nogueira" <cmsbn@xxxxxxxxxxxxxxxxx> Date: Sun, 12 Jun 2005 03:00:36 +0100 (WEST) |
I believed Michael Kay pointed the solution i'll use(switch to xslt 2.0). I will be testing if and how i can use xslt 2.0 with apache cocoon 2.1.7.
<xsl:for-each select="$line">
<xsl:for-each select="$column">
<td><xsl:text>C</xsl:text></td>
</xsl:for-each> <xsl:if test="$line>1">
<tr><xsl:text>L</xsl:text></tr>
</xsl:if>
</xsl:for-each>
----------------------------------------------------------
Desired HTML output example:
(...)
<table border="0">
<tr>
<td>
label: sexo
</td>
<td>
Masc.
</td>
<td>
Fem.
</td>
<td>
Other
</td>Thanks for your support and time, CarlosN.
Carlos, you may want to include the relevant snippet of your input XML, desired output, and your calling environment since you say " this variables are numbers that must be passed to my xsl file."
Regards,
--A
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Can not convert number to, Aron Bock | Thread | RE: [xsl] Can not convert number to, Aron Bock |
| [xsl] XSL FO keep-together=int Impl, Alex Milowski | Date | RE: [xsl] Can not convert number to, Aron Bock |
| Month |