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

Re: Pass variables through URL

Subject: Re: Pass variables through URL
From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Oct 2004 22:33:25 +0200
passing variables through url
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The code you sent looks ok. Where/How do you set the variables?
Jen Jiang wrote:
| I did this:
|
| <xsl:element name='img'>
| 	<xsl:attribute name='src'>
| 		<xsl:text>./php/chart_age.php?age1=</xsl:text>
| 		<xsl:value-of select='$age1'/>
| 		<xsl:text>&amp;age2=</xsl:text>
| 		<xsl:value-of select='$age2'/>
| 		<xsl:text>&amp;age3=</xsl:text>
| 		<xsl:value-of select='$age3'/>
| 		<xsl:text>&amp;age4=</xsl:text>
| 		<xsl:value-of select='$age4'/>
| 		<xsl:text>&amp;age5=</xsl:text>
| 		<xsl:value-of select='$age5'/>
| 		<xsl:text>&amp;age6=</xsl:text>
| 		<xsl:value-of select='$age6'/>
| 		<xsl:text>&amp;age7=</xsl:text>
| 		<xsl:value-of select='$age7'/>
| 		<xsl:text>&amp;age8=</xsl:text>
| 		<xsl:value-of select='$age8'/>
| 	</xsl:attribute>
| </xsl:element>
|
| But in PHP the variables don't have values. So I guess
| the variables didn't get passed. Any thing wrong with
| the code?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBctcVqjaicDyx8o8RAoEmAJ9OEvbyQ6yP6usXndu8ccoaWbM4dACfeG2C
Z61v0itd5pNpCZX1dH6zkiI=
=/V9K
-----END PGP SIGNATURE-----

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.