Posted by Quadrupel on 05/23/05 01:54
Janwillem Borleffs wrote:
> Quadrupel wrote:
>
>>How can I use a php-variable in an xml file?
>>
>>In this case I need $_SERVER['PHP_SELF'].
>
>
> When you mean during an XSLT transformation, you can pass external variables
> to the stylesheet and catch them there through <xsl:param /> elements.
>
> For PHP4, see:
>
> http://www.php.net/xslt_process
>
> For PHP5, see:
>
> http://www.php.net/manual/en/function.xsl-xsltprocessor-set-parameter.php
>
>
> JW
Thank you for the links.
The problem is the output should be xml files.
Maybe I'll create them with fopen.
--
Regards
[Back to original message]
|