Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Barry 99 posts 187 karma points
    Oct 08, 2009 @ 17:21
    Barry
    0

    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?

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Oct 08, 2009 @ 17:30
    Richard Soeteman
    1

    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 

  • Almir Vereget 62 posts 150 karma points
    Oct 08, 2009 @ 18:18
    Almir Vereget
    1

    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!

     

     

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies