xsl-list
[Top] [All Lists]

DHTML modify a table

2005-08-06 02:01:08
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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--~------------------------------------------------------------------
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>