This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
testing for several different conditions
- To: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Subject: testing for several different conditions
- From: Eric Taylor <Eric dot Taylor at RealPage dot com>
- Date: Mon, 25 Sep 2000 16:44:47 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
In my XSL:
<xsl:when test= ".[//bookmark/@name = @internal]">
...
</xsl:when>
This checks to see if I have a bookmark anywhere in the page with a name
that corresponds to @internal before it creates a link a hyperlink.
However, I also want to continue if (@internal = 'whatnext' and there is a
//next element) or (@internal = 'related' and there is a //related element).
I can't figure out the syntax for doing this. Thanks. Eric
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list