[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Node selection based on parent attribute


Subject: RE: [xsl] Node selection based on parent attribute
From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx>
Date: Fri, 30 Aug 2002 12:36:11 -0500

> Still trying to get a better understanding of xslt.  Using the code you 
> specified below brings up a parser error:
> Attribute 'select' is invalid on 'xsl:if'.

There's a mistake I've made a 100 times, it should be "test":

   <xsl:if test="ancestor::menu[@id=$id']">


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread