I have yet to work with inline xslt, but I suppose it works against the published XML content just like XSLT macros. If so, if Teacher is an unpublished node it will not find it.
Please correct me if I am wrong on how inline xslt works!
EDIT: But then of course nice url should not work either?.
Inline XSLT
How come this does not work?
< umbraco:Item runat="server" field="teacher" xslt="umbraco.library:GetXmlNodeById({0})/@nodeName" />
teacher is content picker field.
This one works fine:
If the top one is a bad code then is there a way to display the nodeName of the content picker in the template file?
Thanks!
Hi Sonny2010,
It works fine on my local install! What version of umbraco are you using. I've tested with the latest v401 changeset and page renders ok.
Looking forward to your info.
Regards,
/Dirk
Hi Dirk,
Thanks for your replying!
I am running umbraco v 4.0.0 (Assembly version: 1.0.3317.32692)
I'll update to the newest version and let you know if it worked.
-Sonny
I upgraded to the latest realease, umbraco v 4.0.0 (Assembly version: 1.0.3327.20280) and it still does not work.
It does not show anything.
I have yet to work with inline xslt, but I suppose it works against the published XML content just like XSLT macros. If so, if Teacher is an unpublished node it will not find it.
Please correct me if I am wrong on how inline xslt works!
EDIT: But then of course nice url should not work either?.
is working on a reply...