[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: key and document()
Denys Duchier wrote: > My proposal of the day (:-) is to allow a 3rd optional argument to > key() to permit specification of a context node (or node set of > context nodes). Thus key($name,$key,E) would mean the union of > evaluating key($name,$key) for each node in the node set denoted by > expression E. Naturally, if E is omitted, it would default to > "current()". This is a reasonable suggestion. The same thing would work for id() as well, and is what is hinted at by "an easier way to get an ID in another document" in the "Features under Consideration for Future Versions of XSLT" appendix. James XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|