[xsl] add new line to an html table with xsl

Subject: [xsl] add new line to an html table with xsl
From: Laurence Mossuz <mossuz@xxxxxxxxxxxxx>
Date: Tue, 18 Mar 2003 10:17:32 +0100
hello

i would like to create a button in my html page which allows the user to
add new lines to its html table. I would like to code this in xsl by
using an if condition and a variable declaration:

<xsl:variable name="newLine">
 <td>
  <input border="0" name="toto" size="10" type="text" />
</td>
</xsl:variable>

<table>
.....
<xsl:if "test=...">
 <xsl:copy-of  select="$newLine"/>
</xsl:if>

</table>

if you have an idea, many thanks in adavance

Lo

--

Laurence MOSSUZ

LAPP Service Informatique
Chemin de Bellevue BP 110
74941 Annecy-Le-Vieux CEDEX
Tel : 04 50 09 17 31 _ Fax : 04 50 27 94 95



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread