This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

testing for several different conditions


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]