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 2958 posts 15629 karma points MVP 7x 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

  • 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