RE: [xsl] xsl:sort/@case-order feature missed

Subject: RE: [xsl] xsl:sort/@case-order feature missed
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 31 Jan 2002 13:41:57 -0000
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] 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


Current Thread