Link to home
Start Free TrialLog in
Avatar of FPI_DEVTEAM
FPI_DEVTEAM

asked on

How do i convert to uppercase in XSLT using sharepoint designer

I have a transformation in XSLT by which I am trying to convert the default display of the file type of an uploaded document from lower case to upper case.eg; pdf to PDF. How am I able to do this.

<xsl:value-of select="upper-case(@File_x0020_Type)"  disable-output-escaping="yes"/>

This gave me an error. Can you please help me in which function to use and how to use it. Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FPI_DEVTEAM
FPI_DEVTEAM

ASKER

sorry gertone. i want you to please let me know how do I use the upper-case() statement. what is the syntax. what is the namespace i should add?
Maybe I was not clear enough.
You simply CAN'T use upper-case().
It is a non existent function in sharepoint XSLT as far as I know, it is XSLT2, so not supported in Sharepoint

If you want to upper-case, you need to use the workaround I have shown