[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Sort not sorting revisited
I posted on this yesterday but I found the problem. Now I'm curious to know a little more about it. The problem was that when sorting on this XML snippet using XSL: <vendor_name>AAAAAAAA</vendor_name> <vendor_name> ZZZZZZZ </vendor_name> ZZZZZ would come before AAAAAAAA. The sort was being performed by IE 6.0. After much hair pulling, I finally figured out it was because of the carriage return that preceded the ZZZZZZ (the actual XML doc was much bigger, hiding the problem). First question: It seems odd to me that the newline character would be considered significant and not get stripped. Why is this not so? Or is it a non-compliant feature of Microsoft's implementation of XSL? If it is the correct behavior, what's the standard practice for avoiding this problem? 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
|