cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Magistrali <magistr...@ariadne.it>
Subject choose xsl stylesheet dinamically
Date Thu, 22 Feb 2001 10:25:08 GMT
Hi to everybody,

    is it possible to choose xsl stylesheet like this:

<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="../portlets/xsl/griglia.xsl"/>

<xsl:if test=" pippo='yes' ">
<xsl:include href="../portlets/xsl/toolbar_yes.xsl"/>
</xsl:if>

<xsl:if test=" pippo='no' ">
<xsl:include href="../portlets/xsl/toolbar_no.xsl"/>
</xsl:if>

<xsl:include href="../portlets/xsl/strumenti.xsl"/>
<xsl:output method="html"/>

<xsl:template match="page">.....

in which pippo is a variable that I put in xml file????

thanks

Marco


Mime
View raw message