When I try to generate a "value-of" tag I get this line: <xsl:value-of select="mediaItem"/> while the author in the video gets this:<xsl:value-of select="$currentPage/data [@alias = 'mediaItem']"/>.
I've tried them both but I simply can't get any value when I tries to visualize the XSLT - it simply says
"The XSLT didn't generate any output"
- which I don't understand! - I'm kinda stuck in this tutorial until I can visualize the output...
Imagepicker fails
Please excuse my ignorance - but I'm quite new to Umbraco and this whole xlst-thing...
I've followed this (http://umbraco.org/help-and-support/video-tutorials/for-site-builders/datatypes/using-content-and-media-pickers) video-tutorial to the bone several times but very early my script fails.
When I try to generate a "value-of" tag I get this line: <xsl:value-of select="mediaItem"/> while the author in the video gets this:<xsl:value-of select="$currentPage/data [@alias = 'mediaItem']"/>.
I've tried them both but I simply can't get any value when I tries to visualize the XSLT - it simply says
"The XSLT didn't generate any output"
- which I don't understand! - I'm kinda stuck in this tutorial until I can visualize the output...
By the way I use umbraco 4_5_2 for asp.net 3.5
I think you need to add the $currentPage variable - ie <xsl:value-of select="$currentPage/mediaItem"/>
Off course...!!! - how could I be so blind... - thank you very much...
is working on a reply...