[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: when and xsl:choose
Heather Lindsay: >try changing the word "match" to "test" in your <xsl:when> statements. In the original example you were getting the <xsl:otherwise> result, because all the tests failed. This should fix that. In the old IE5 dialect of xsl, you could (sometimes) get away with "match" where the spec says "test", so if you're coming from there you could easily go astray. Come to think of it, that is generally true of the IE5 dialect, isn't it? I found in switching over from IE5 to real xslt, I had to review each "match" and "test" to make up for the mistakes I'd made that IE5 had let me get away with. Rick Suiter 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
|