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

RE: [xsl] Multiple elements condition


Subject: RE: [xsl] Multiple elements condition
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 27 Aug 2007 18:41:31 +0100

> > <xsl:template match="note[count(para) > 1]">
> 
>   note[para] is more readable IMHO.

No point making your code more readable if it makes it wrong. 

note[para] means note[count(para) > 0] which is a different condition.

Michael Kay
http://www.saxonica.com/


Current Thread