- From: Michael Kay <mhkay@iclway.co.uk>
- Date: Fri, 9 Feb 2001 22:14:18 -0000
- To: "'Matthew Bentley'" <matthew.bentley@brookers.co.nz>, <xsl-editors@w3.org>
> I would recommend adding more rules for template priority > construction: > for example, I would expect this: > > <xsl:template match="dis.para[@style='k' or > @style='c'][not(dnumber)]"> > > to override this: > > <xsl:template match="dis.para[@style='k' or @style='c']"> The trouble about this is that there are many cases where it's obvious to the stylesheet author that one match pattern is more selective than another, but where it requires a fair bit of analysis to deduce this. For example match="para[p and q]" implies match="para[p[1] or q[last()]]" but does not imply match="para[p[2] or q[last()-1]]" It would be very hard to define all the rules in detail. Mike Kay
Received on Friday, 9 February 2001 17:12:27 UTC