This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: problem with <xsl:if>
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] problem with <xsl:if>
- From: Francis Norton <francis at redrice dot com>
- Date: Wed, 18 Apr 2001 21:17:02 +0100
- References: <001201c0c841$10bf0f00$e7421ad8@blueegg>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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