This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Node selection based on parent attribute
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 30 Aug 2002 23:00:37 +0100
- 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'.
>
> Any clues as to the cause of this?
Yes, the cause is that xsl:if doesn't have a select attribute (it has a
"test" attribute).
I'm curious: why did you find it difficult to understand this error
message?
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list