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

> 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 UTC