Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upper and Lower case #33

Closed
JonathanRowell opened this issue Nov 18, 2019 · 2 comments · Fixed by #77
Closed

Upper and Lower case #33

JonathanRowell opened this issue Nov 18, 2019 · 2 comments · Fixed by #77
Assignees
Labels
enhancement New feature or request

Comments

@JonathanRowell
Copy link

JonathanRowell commented Nov 18, 2019

XSLT 1.0 has a MAJOR flaw in that it has no upper/lower case conversion without resorting to "translate", which only solves half the problem.

XSLT 2.0 has native functions just like Javascript which solve the whole problem.

These two functions ought to be simple to implement. Could you add them please?

@leonelsanchesdasilva leonelsanchesdasilva self-assigned this Jun 28, 2023
@leonelsanchesdasilva leonelsanchesdasilva added the enhancement New feature or request label Jun 28, 2023
@leonelsanchesdasilva
Copy link
Collaborator

Hi @JonathanRowell. Can you please provide usage examples of what you imagine it should be the behavior?

@JonathanRowell
Copy link
Author

The best reference for the behavior of upper-case() is given in the O'Reilly book XSLT 2.0 (https://www.oreilly.com/library/view/xslt-2nd-edition/9780596527211/re176.html). It is also contained in the XQuery standard see Priscilla Walmsley 'sbook (again O'Reilly) page 627. I use it in comparison cases of bibliographic data to find out whether Antonin Dvorak is in fact Ántonin Dvořák. The same with Greek, Russian and a host of other names. Convert to upper case (difficult without using complete Unicode) and then throw away the accents (easy with translate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants