Subject: Re: [xsl]Putting PHP Code in XSLT? From: Thomas Løcke <thomas@xxxxxxxxx> Date: Fri, 21 Sep 2007 14:38:55 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl]Putting PHP Code in XSLT?, David Carlisle | Thread | [xsl] Sorting and grouping unknown , Claus Jessing |
RE: [xsl] Inserting an XSL variable, Bhaskar _ | Date | RES: [xsl] Inserting an XSL variabl, Jonathan Dias |
Month |