xsl-list
[Top] [All Lists]

RE: [xsl] Multiple elements condition

2007-08-27 10:42:37
<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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--