Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have this:
<xsl:value-of select="umbraco.library:FormatDateTime(data [@alias='eventDate'], 'MMMM')"/>
Which is great but I want the text to uppercase as well, how would I do this?
Hi Barry,
I'm using css text-transform:uppercase for this, check out http://www.w3schools.com/Css/pr_text_text-transform.asp">this page for more info.
Cheers,
Richard
Or you can use uppercase function from xslt Strings exstension:
<xsl:variable name="month" select="umbraco.library:FormatDateTime(data[@alias='eventDate'],'MMMM')"/><xsl:value-of select="Exslt.ExsltStrings:uppercase($month)"/>
Cheers!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to UPPER case text
I have this:
<xsl:value-of select="umbraco.library:FormatDateTime(data [@alias='eventDate'], 'MMMM')"/>
Which is great but I want the text to uppercase as well, how would I do this?
Hi Barry,
I'm using css text-transform:uppercase for this, check out http://www.w3schools.com/Css/pr_text_text-transform.asp">this page for more info.
Cheers,
Richard
Or you can use uppercase function from xslt Strings exstension:
Cheers!
is working on a reply...