[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing node for identity using union
Antonio,
At 01:46 PM 1/18/2005, you wrote: Well, just for the record, i solve my problem, by using Not just because I guess it to be less bug-prone, but also because I think it's more intuitively obvious, I have started using /descendant::Menu[$pos] as an alternative to the above. A lot of XSLT code ends up getting thrown at newcomers to maintain these days. Part of my job is to make my code as clear as I can to people starting with the language. It's a design, er, "wrinkle" that //node[$pos] doesn't return what people guess it should (expect in buggy systems), before they learn the gory details of the XPath productions -- and that includes implementers. (I know this isn't the bug you found, but it's nearby isn't it?) Cheers, Wendell
|
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
|