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

RE: xsl:for-each - passing value to a popup window

Subject: RE: xsl:for-each - passing value to a popup window
From: "Tim Watts" <timw@xxxxxxx>
Date: Thu, 31 May 2001 10:21:38 +1000
passing value to popup window
Hi Bryan,

This sounds more like a javascript/html question

The passing of values through http is via the use of the post or get
methods.

For example, your javascript function may open a new window and request the
address

"http://www.mydomain.com/somefile.php?value=something&value2=somethingelse"

The server side scripting language (PHP, CGI/Perl, ASP) can then display the
value passed (in the example above, using the get method, where the value is
passed in the URL)

>From the original window, use the xsl:value-of command to pass the value to
your new page from your XML (using Xpath)

ie.

<a
href="http://www.mydomain.com/somefile.php?value={/root/value/something}">so
mething</a>

Best look into Javascript/HTML lists or the Server side implementation you
want to use as this isn't really XSLT related

Tim

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Bryan Tulloch
Sent: Thursday, 31 May 2001 2:23 AM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
Subject:  xsl:for-each - passing value to a popup window

I have a table, any cell of which when clicked generates an onclick event
which creates a popup window. The data in the table is populated using a
for-each loop. What I want to be able to do is to get the value of the data
in the particular row that is clicked and pass this to the popup, then to
display it in the popup.

Bryan


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.