Re: [xsl] problem with <xsl:if>

Subject: Re: [xsl] problem with <xsl:if>
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 18 Apr 2001 21:17:02 +0100

Jay Wright wrote:
> 
> but I am not sure how to do the if test.  an example implies that I should
> use double quotes ("), but cocoon doesn't seem to like that.  Could someone
> help me with the test condition?
> 

Haven't used cocoon myself, but

  <xsl:if test="../@edit='yes'">

should work.

(Mind you it's late here and I'm haven't tested it.)

Francis.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread