xsl-list
[Top] [All Lists]

Re: DHTML modify a table

2005-08-06 02:14:16

----- Original Message ----- From: "Jean-David" <merdoq(_at_)yahoo(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>