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]
Other format: [Raw text]

RE: Node selection based on parent attribute


> 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


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