W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

RE: xslt2.0

From: Michael Kay <mhkay@iclway.co.uk>
Date: Fri, 9 Mar 2001 10:56:10 -0000
To: "'Matthew Bentley'" <matthew.bentley@brookers.co.nz>, <xsl-editors@w3.org>
Message-ID: <001a01c0a887$8d6a9e40$5d2a3c3e@oemcomputer>
> I am frustrated by the fact that xslt cannot recognise when
> one rule is more
> specific than another. For example, I would expect
> "label-para/label-para/para" to override "label-para/para",
> as it is a more
> specific match.

OK, so what about "para[position() mod 4 = 0]" being more specific than
"para[position() mod 2 = 0]"?

However far you go, it won't be far enough, and in my personal opinion the
current spec already goes too far: it would be better to insist on explicit
user-defined priorities.

Mike Kay
Software AG
Received on Friday, 9 March 2001 05:53:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT