xsl-list
[Top] [All Lists]

Re: [xsl] can a value of a parameter depends on a other value

2011-11-29 11:06:50
Roelof Wobben wrote:

But I use Symphony CMS and can only use xslt 1.0

With XSLT 1.0 you can use
  <xsl:with-param name="foo">
    <xsl:choose>
      <xsl:when test="condition goes here">value goes here</xsl:when>
      <xsl:otherwise>other value goes here</xsl:when>
    </xsl:choose>
  </xsl:with-param>


--

        Martin Honnen --- MVP Data Platform Development
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--