Copied to clipboard

Flag this post as spam?

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


  • dmd 3 posts 23 karma points
    Jun 18, 2010 @ 21:42
    dmd
    0

    xslt drop down selected Text

    I created a dropdown list data type and I am trying to display the selected item's text with xslt. I'm using umbraco v 4.0.4.2. Does anyone have any sample code?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 18, 2010 @ 22:09
    Matt Brailsford
    0

    Umbraco should automaticaly give you the text, so:

    <xsl:value-of select="$currentPage/data[@alias='yourPropertyAlias']" />

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft