|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting a distinct list of node names
David,
At 07:53 PM 12/15/2003, you wrote: > node:definition/*[not(name() = name(preceding-sibling::*))] You are correct -- a bug in my code. Given a node-set argument, name() will operate on the first node in the set in document order (here, preceding-sibling::*[last()]), which therefore won't de-duplicate properly. So it won't take a long time, and it won't work either. The key-based approach, or Ken's, will work however. Thanks for your vigilance, David. Cheers, Wendell
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
|

Cart








