Re: key() in match pattern of xsl:key
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format