XSLT: Problem passing variables with PHP 4.2
| From: | Ignatius Reilly | Date: | Sat, 17 Aug 2002 15:27:24 +0000 |
| Subject: | XSLT: Problem passing variables with PHP 4.2 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15329@lists.php.net to get a copy of this message | ||
Hi,
Since upgrading from PHP 4.0 to 4.2, I do not manage any longer to pass parameters from the PHP
script. The XSLT transformations is performed allright, though, but use empty string values for the
parameters defined in the script.
I tried to kludge by passing parameters in the form of string arguments:
$xslt_args["lang"] = "<a>French</a>" ;
and <xsl:param name="lang" select="document('arg:/lang0')/a"/>
... but here again I get a 'arg:/lang' not found error
I use Apache 1.3.14 on a W2K machine
Anybody has encountered the same problem?
Ignatius