S
Soren Kuula
Hi,
Suppose I have:
<xsl:template match="foo[position()!=last()]"/>
<xsl:template match="foo[position()=last()]"/>
-- is that an error (same priority)? (my precessor reports nothing, buts
as far as I recall it doesn't really have to). Or is the priority a
post-predicate-survival issue?
Are these any better or worse (with respect to specification
fulfillment) that the above pair?
<xsl:template match="foo[position() > 2]"/>
<xsl:template match="foo[position() < 4]"/>
(yes I could find out for myself all right .. and who knows if I will be
the first onw ansering myself But isn't an interesting little gotcha?)
Soren
Suppose I have:
<xsl:template match="foo[position()!=last()]"/>
<xsl:template match="foo[position()=last()]"/>
-- is that an error (same priority)? (my precessor reports nothing, buts
as far as I recall it doesn't really have to). Or is the priority a
post-predicate-survival issue?
Are these any better or worse (with respect to specification
fulfillment) that the above pair?
<xsl:template match="foo[position() > 2]"/>
<xsl:template match="foo[position() < 4]"/>
(yes I could find out for myself all right .. and who knows if I will be
the first onw ansering myself But isn't an interesting little gotcha?)
Soren