[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: Jen Jiang <zhenjiang14221@xxxxxxxxx>
Date: Tue, 19 Oct 2004 19:12:56 -0700 (PDT)
pass through url
I tried this solution but the variables still didn't
get passed to the PHP. This PHP file should generate a
bar chart whose values are passed through the url in
the xslt file. But I got a chart without bars, which
means the variables were not passed. 

This confuses me because in xslt file I can print the
variable values but in PHP it's empty.




--- "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jen,
> 
> I removed all the imports from your file to test it
> and it worked:
> ~             <img
>
src="./php/chart_age.php?age1=30&amp;age2=10&amp;age3=30&amp;age4=10&amp;age5=20&amp;age6=0&amp;age7=0&amp;age8=0">
> 
> Perhaps you are changing the context accidentally
> somewhere.
> I'd try to change the line
> 	<xsl:for-each select="ROOT">
> to
> 	<xsl:for-each select="/ROOT">
> to find the root element regardless of your context.
> 
> Wolfgang
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Cygwin)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
> 
>
iD8DBQFBdMeqqjaicDyx8o8RArTtAJ9ukGErhyvsLtbaMQyMrgiBQSCKxgCeIyPm
> lbQ7ecp6+ky3CeqN8yhWB4s=
> =UQiN
> -----END PGP SIGNATURE-----
> 
> 


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

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.