[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

testing for several different conditions

Subject: testing for several different conditions
From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx>
Date: Mon, 25 Sep 2000 16:44:47 -0400 (EST)
44 taylor eric
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.