Re: [xsl]Putting PHP Code in XSLT?

Subject: Re: [xsl]Putting PHP Code in XSLT?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 21 Sep 2007 10:54:38 +0100
>    I have some PHP code somewhere that can provide this function, but I 
> don't know if I can put it in XSLT. If I can, does anyone have any idea 
> of where I put it?

XSLT just generates a file, it doesn't need to know what language the
file contains, whether it is english or german or php is all the same.

There doesn't need to be any interaction between the PHP and XSLT
engines, if you generate code that looks like php, most likely by
<xsl:processing-instruction name="php">....
xslt will generate
<?php ....
and so if you pass that to a php engine on the server the code ... will
be executed.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread