Dictionary in XSLT Options
azzlack
Posted: Friday, February 08, 2008 1:59:28 PM

Rank: Devotee

Joined: 8/5/2007
Posts: 94
Location: Bergen, Norway
How can I put a dictionary entry in a XSLT file?

I tried doing this:
Code:
<xsl:value-of select="umbraco.library:GetItem('#emailFriendLink')"/>


But it doesn't work.

Anyone knows how to do this correctly?

www.eyecatch.no
drobar
Posted: Friday, February 08, 2008 2:03:05 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,698
Location: KY, USA
Try this:
Code:

<xsl:value-of select="umbraco.library:GetDictionaryItem('String Key')"/>


cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
azzlack
Posted: Friday, February 08, 2008 2:13:27 PM

Rank: Devotee

Joined: 8/5/2007
Posts: 94
Location: Bergen, Norway
Wonderful!

That worked like a charm!

Thanks Douglas!

Regards,
Ove Andersen

www.eyecatch.no
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.