You can have as many nested xsl:if statements as you can fit in a big barrel (figuratively speaking - you know what I mean :-).
I can think of two things that would go wrong:
- You're missing the closing parenthesis in the call to NiceUrl() - If that's just a typo here, the other thing would be that fokusFromMainWebsiteLink needs to be a page id - is that the case?
Display images with Xlst and MediaPicker in umbraco 4.7.2
Hey Guys
I've searched all morning to find a simple solution to display images with xslt and the media picker.
This is what figured out for now, BUT, no images are displayed :'(
It's bit confusing for a rookie XSLT dude like me :P
Hi Mads,
You're just unfortunate to have found some XSLT for the "Legacy XML Schema" (search for it, to see what changed).
To do the same with the New XML Schema (since, I believe, Umbraco 4.5):
/Chriztian
Hey Steinmeier
As usual you are getting things working for me :o)
I guess this is what you where talking about whit the new schema http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/xslt-examples-updated-to-new-schema
Hey Christian
Your suggestion worked fine but when i kombine it with this:
Error occured!
I gues it maybe is because i use <xsl:if></xsl:if> inside in a <xsl:if></xsl:if> ????
Hi Mads,
You can have as many nested xsl:if statements as you can fit in a big barrel (figuratively speaking - you know what I mean :-).
I can think of two things that would go wrong:
- You're missing the closing parenthesis in the call to NiceUrl() - If that's just a typo here, the other thing would be that fokusFromMainWebsiteLink needs to be a page id - is that the case?
/Chriztian
just figured it out myself :o)
Embarrassing :o)
is working on a reply...