RE: [xsl] Tables interactive

Subject: RE: [xsl] Tables interactive
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx>
Date: Tue, 6 May 2003 15:17:01 +0100
something like the following... I have used the javascript:alert() function instead of your form populating function for testing.

sample xslt

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="";>
	<xsl:output method = "html" encoding="utf-8" />
	<xsl:template match="/">	
			<xsl:apply-templates select="data/cell"/>
	<xsl:template match="cell">
	<td onClick="javascript:alert('{.}')"><xsl:value-of select="."/></td>

test data xml

<?xml version="1.0" ?>



gl, jim fuller

-----Original Message-----
From: Cross, Neal - Development Controller [mailto:ncross@xxxxxxxxx]
Sent: 06 May 2003 15:05
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Tables interactive

The method I would use would be to use javascript to populate the HTML form items.
For examople put this activator on your cell:
<td onClick="cellStore('populatCellValueHere')">CellValue</td>

Then use this javascript to store the value in the form for later usage:

function cellStore(value)

Does this help at all?

-----Original Message-----
From: John Proctor [mailto:jproctor0@xxxxxxxxxxx]
Sent: 06 May 2003 14:42
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Tables interactive

I can create a table via xsl but is there any way of say clicking on a cell 
and having the contents copied into a field, the idea is to have say a 
shopping cart and for the user to select a cell via a mouse click and have 
the contents copied into a html field.
Thanks for any help John Proctor

Stay in touch with absent friends - get MSN Messenger

 XSL-List info and archive:

 XSL-List info and archive:

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please contact the sender immediately. Any disclosure, copying, distribution or any other use of this communication is strictly prohibitedand may be unlawful. Stuart Lawrence Marketing Communications Limited reserves the right to monitor and intercept communications for unlawful business purposes.

This also confirms that this message has been swept for viruses, although Stuart Lawrence Marketing Communications Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or contents.

 XSL-List info and archive:

Current Thread