W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2004

Re: [XSLT 2.0] Extra parameter for key()

From: Dimitre Novatchev <dnovatchev@yahoo.com>
Date: Tue, 23 Mar 2004 03:51:47 -0800 (PST)
Message-ID: <20040323115147.60977.qmail@web41108.mail.yahoo.com>
To: mhk@mhk.me.uk
Cc: public-qt-comments@w3.org

> An extra parameter has been added to the id() function to identify the
> target document. 
> 
> We need to decide whether to make the same change to XSLT's key() 
> function.
> 
> Michael Kay

This would be very nice! Having to use more than one key on different
documents leads to sprinkling of lots of artificial xsl:for-each
instructions and this results in code that is very difficult to read and
understand even by its original author. It is especially difficult to
decide what the current document is at particular point of the code. I had
a recent bad experience exactly with this.

Please, do include the proposed new argument -- this will make
programmer's work a lot easier and the code much more readable, 
understandable and maintainable.

This should be a separate overload, preserving an overload with the
current signature of the key() function.


With regards,

Dimitre Novatchev.


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
Received on Tuesday, 23 March 2004 06:53:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:07 GMT