[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: key() in match pattern of xsl:key

Subject: Re: key() in match pattern of xsl:key
From: rolf@xxxxxxxxxxxx
Date: Sat, 10 Dec 2005 22:33:34 +0100 (CET)
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.


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.