I'm working on a site which uses a couple .xslt files to handle embedding videos. I don't know a thing about .xslt. Never touched it in my life. But, I saw on another forum thread that the string I'll need here is this, I think:
Then you can wrap a paragraph tag around the <xsl:value-of select="umbraco.library:GetDictionaryItem('NameOfDictionaryItem')" />, try to see this post http://24days.in/umbraco/2013/the-dictionary-secrets/ from the last year advent calendar, a post written by Jan Skovgaard about using dictionary items in Umbraco.
And remember the dictionary itemĀ“s name is the key, and the key must be unique.
Using Dictionary Items in XSLT
I'm working on a site which uses a couple .xslt files to handle embedding videos. I don't know a thing about .xslt. Never touched it in my life. But, I saw on another forum thread that the string I'll need here is this, I think:
My question is, do I need to wrap this code in something like this:
I can show the code of the whole file if need be... Just don't know how much of it is relevant.
Hi Stacy,
You need to wrap your dictionary items in XSLT like this
Then you can wrap a paragraph tag around the <xsl:value-of select="umbraco.library:GetDictionaryItem('NameOfDictionaryItem')" />, try to see this post http://24days.in/umbraco/2013/the-dictionary-secrets/ from the last year advent calendar, a post written by Jan Skovgaard about using dictionary items in Umbraco.
And remember the dictionary itemĀ“s name is the key, and the key must be unique.
Hope this helps,
/Dennis
Thank you very much, Dennis!
is working on a reply...