[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Putting PHP Code in XSLT?
Alice Ju-Hsuan Wei wrote: > Hi, > > Just to test, here is what I have: > > <xsl:processing-instruction name="php">echo "Hello!"; > ?</xsl:processing-instruction> > > The source code of the section above is there, but it is not working. > When I take the ? off, the product becomes <?php echo "Hello!"; > > which is not in HTML format. > > The other thing is, why don't we need to do this with Javascript? > > Alice Hi Alice, Is this perhaps what you're looking for: http://uk2.php.net/manual/en/function.xsl-xsltprocessor-register-php-functions.php Regards, Thomas
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|