[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:sort/@case-order feature missed
Yes, it's a reasonable requirement that there should generally be a value for an attribute that has the same effect as omitting the attribute. (There are overriding factors in some cases, e.g. the new separator attribute of <xsl:value-of>, but that doesn't apply here.) Please post it to xsl-editors so we get traceability of the requirement. Mike Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of > Nestel, Frank > ISC 6 > Sent: 31 January 2002 12:09 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: xsl:sort/@case-order feature missed > > > Hi, > > we are missing a neutral value for the > xsl:sort/@case-order. We are using a > > <xsl:sort ... case-order='{$which-order}'> > > within a parametrized template and would like > to have all three cases for which-order: > > 1. lower-first > 2. upper-first > 3. no-particular-ordering-on-upper-and-lower > > Since we are using xsl:variables we cannot simply > leave the case-order attribute away. > > Either this seems to be missing from the XSLT > standards, even XSLT 2, or I'm missing the point, > e.g. an empty case-order would have the effect of > the third line. And if I'm not missing the point, > wouldn't this be useful within XSLT 2.0?! > > -- > Frank Nestel > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > 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
|