[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 customizationlayer
Frans Englich wrote:
Ok, a docbook website related question then...I created a website with docbook website in English and Italian. I use profiling to generate the HTML code starting from the same source. What I would like to do is to generate different snippets of code for the Italian and the English version of the site. When profile.lang is equal to "it" I would like to generate something equivalent to this: <xsl:processing-instruction name="php">
include ('../php/filename_it.php');
</xsl:processing-instruction>
while profile.lang is equal to "en" this:<xsl:processing-instruction name="php">
include ('../php/filename_en.php');
</xsl:processing-instruction>
Is this possible? Best regards, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]