Case insensitive sorting

Robby Stephenson robby at periapsis.org
Wed May 3 17:15:49 BST 2023


On Wed, May 3, 2023 at 9:04 AM Bill Gee <bgee at campercaver.net> wrote:

> I found one suggestion to use a lower-case() function, as this:
>
> <xsl:sort lang="$lang" select="lower-case(@title)"/>
>
> I tried that but got only a blank report.  One source I found for this
> says that lower-case() is not available in xsl 1.0.
>

The XSLT library that Tellico uses only supports xsl 1.0, so all of
Tellico's stylesheets stay compatible with that.


> I then put in your suggestion from below which works perfectly.  I
> produces the report I want.  It is not an ideal solution for two
> reasons.  First, it will go away when the next Tellico upgrade is
> installed.  Second, it gives no option to use case-sensitive sorting if
> that is wanted.
>

My suggestion would be to copy the Group_View.xsl to a new file in the same
folder and make the edit. That way it doesn't get affected with the next
upgrade and also gives you the option of using either report (with or
without sorting).


> Robby
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20230503/c1bc5c78/attachment.htm>


More information about the tellico-users mailing list