[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How to generate PHP code in a XSL customization layer
On Tuesday 08 March 2005 11:07, Roberto Gianassi wrote: > Hi, > > I would like to know if it's possible to generate a snippet of PHP code > in a XSL customization layer. > What I have in mind is something similar to: > > <xsl:template name="home.navhead"> > <?php include ('../php/filename.php'); ??> > </xsl:template> Try the processing-instruction element: <xsl:processing-instruction name="php"> include ('../php/filename.php'); </xsl:processing-instruction> See: http://www.w3.org/TR/xslt#section-Creating-Processing-Instructions http://www.xml.com/pub/a/2000/09/13/xslt/ Hm, you're off-topic since this is xslt related, and not tied to docbook. For further xslt questions, see the xsl-list: http://www.mulberrytech.com/xsl/xsl-list/ Cheers, Frans
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]