[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] If Current Node Is Ancestor!
Subject: [xsl] If Current Node Is Ancestor! From: "Adam J Knight" <adam@xxxxxxxxxxxxxxxxx> Date: Tue, 12 Apr 2005 13:19:41 +1000 |
Hi all, I am trying to test whether a current node is an ancestor of a menu node with a dept attribute equal to $depth. I appear to be struggling with this conceptually and would appreciate any help!! <xsl:if test="//menu[@dept != $dept]/ancestor::menu "> <xsl:attribute name="class">nav_close</xsl:attribute> </xsl:if> Cheers, Adam
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to create a node set , Michael Kay | Thread | Re: [xsl] If Current Node Is Ancest, Brian Chrisman |
RE: [xsl] How to create a node set , Aron Bock | Date | Re: [xsl] If Current Node Is Ancest, Brian Chrisman |
Month |