[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DHTML modify a table

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.