On 10 Dec, Michael Kay wrote:
Should it be possible to reference one key in the match pattern of
another?
Yes, there's no ban on it, in either XSLT 1.0 or 2.0. But I haven't seen it
done very often.
I disagree, with respect to XSLT 1.0. The recommendation is silent
about this, right, but E13 out of the XSLT 1.0 errata (see
http://www.w3.org/1999/11/REC-xslt-19991116-errata/) cleary states:
It is an error for the value of either the use attribute or the
match attribute to contain a VariableReference, or a call to the
key function.
rolf
--~------------------------------------------------------------------
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>
--~--