Hello, For me this solution wont work while I don't know the value of value in advance ....
"value" is an xpath string build dynamicaly and which allows me to find an extract of a whole big xml file. I think about an other way of doing this : building a dynamic xsl which contains xsp call to update my select call. When the xsl is produced, I will use it to transform my xml file. The problem here is how can I do this inside cocoon ???? Any idea ???? Guy >This wont work, you will need to use something like: > ><xsl:choose> > <xsl:when test="$value=something"> > <xsl:apply-templates select="whatever"/> > </xsl:when> > <xsl:when test="$value=somethingelse"> > <xsl:apply-templates select="whatever"/> > </xsl:when> > ... ></xsl:choose>
