This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Case conversion in XSL?



----- Original Message -----
From: "David Carlisle" <davidc@nag.co.uk>
> > This is actually a serious point,
>
> Don't sound so surpised, not all my posts are trivia...
>
> > whats the implication of adding an uppercase/lowercase function to
> > XSLT ?
>
> Case change is hard. That's why XML is case sensitive, unlike SGML
> which was by default case insensitive, finding a culturally acceptable
> case algorithm is a lot harder than you think.
>
> What's the uppercase of "i" for example?

i would hope that the consensus answer would be  'I', but alas i believe i
will be told something else.....

there are 2 different scenarios

a) case sensitivity for conditional processing possibly within test
conditions and predicates
b) case transformation for output

i'm interested in both, and i am certain that the Unicode effort is doing
case mappings;
http://www.unicode.org/unicode/reports/tr21/

i agree its hard, but the work is already being done by our use of Unicode.

cheers, jim fuller




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]