Subject: Re: [xsl] Pass variables through URL From: Jen Jiang <zhenjiang14221@xxxxxxxxx> Date: Tue, 19 Oct 2004 19:12:56 -0700 (PDT) |
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&age2=10&age3=30&age4=10&age5=20&age6=0&age7=0&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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Pass variables through UR, Werner, Wolfgang | Thread | Re: [xsl] Pass variables through UR, Werner, Wolfgang |
Re: [xsl] union vs. "or" vs. contai, Bruce D'Arcus | Date | AW: Re: [xsl] Problem with a for-ea, Huditsch Roman |
Month |