Re: [xsl] DHTML modify a table

Subject: Re: [xsl] DHTML modify a table
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Sat, 6 Aug 2005 10:14:16 +0100
----- Original Message ----- From: "Jean-David" <merdoq@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, August 06, 2005 10:01 AM
Subject: [xsl] DHTML modify a table



Hi,
I m using tomcat 5.5
Is it possible to dynamicaly change the structure of a
table (number of rows, number of columns, content of
cells...) when the desired row(s) are created using
the xsl:call-template tag?

for example:

file 1:

<table>
<xsl:call-template name=t1/>
<xsl:call-template name=t2/>
</table>

template 1||2:
<tr>
<td>[...]</td>
</tr>

i tried wrappin the tag around <div id=...> and then
use the
document.getElementById('...').innerHTML||outerHTML
functions but it does not update the desired row.
Instead it displays the information on top of the
table.

But when i only wrap the <xsl:value-of> tag with the
div, the content i updated without problem.

Is there a way to get around that?

JD



I'm happy to try to help but your problem appears to be a DHTML one rather than anything to do with XSL.
Can you clarify what HTML output you want given your source XML?


--

Joe

Current Thread