View Single Post

  #1 (permalink)  
Old 09-05-2004
Hayko Riemenschneider
 
Posts: n/a
Default XSLT processing instruction to use PHP

Hi!

I've got me an XSL tranformation stylesheet for my XML file. In the XSL
file I now wish to use PHP to do some scripting. So I thought I'll use
the PIs like this:

<xsl:processing-instruction name="php">
echo $hello;
</xsl:processing-instruction>

But this just gets ignored. No error, just not processed. Do I need to
enable something (in PHP, Apache) to use these PIs?

This is on an Apache/2.0.49 (Win32) PHP/4.3.6 Server.

Thank you for any pointers.
hayko
Reply With Quote