Re: XSLT processing instruction to use PHP
On 06.09.2004 04:00, Terence wrote:
> I have not yet come across a legitimate need to re-process with
> PHP/XSLT. Issues like this can usually be resolved by superior
> design.
I'm working on the design... =)
> I assume you are well aware that you can pass strings to the XSLT
> processor when you call the xslt_process() function (see last
> argument).
I understand, yet I wish to leave out the PHP processing of the XML.
Ideally, I'd only use the XSLT with the XML file and that's it. But I
wish to add some dynamics and with this I wanted to use the session
variables.
Is there no way - other than PHP processing the XML file or using the
windows pipeline example from Janwillem's post - to use a bit of PHP?
I experimented with adding .xml or .xsl files to the preprocessed file list
by my Apache PHP module. As this works fine with .html files, it kills
the browser with .xml or .xls files.
hayko
|