This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Node selection based on parent attribute
- From: "Hunsberger, Peter" <Peter dot Hunsberger at stjude dot org>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 30 Aug 2002 12:36:11 -0500
- Subject: RE: [xsl] Node selection based on parent attribute
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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