Just as I think I'm getting the hang of xslt, being able to traverse nodes etc, I'm stuck with something mega mega basic.
How do I output the current node name (I know I could do this with an umbraco field in the template but it's more complicated than that)? I've done the following but it returns nothing:
Stupidly basic xslt question
Just as I think I'm getting the hang of xslt, being able to traverse nodes etc, I'm stuck with something mega mega basic.
How do I output the current node name (I know I could do this with an umbraco field in the template but it's more complicated than that)? I've done the following but it returns nothing:
Please somebody put me out of my misery!
You are at the current node so it has to be:
hth, Thomas
Bingo, thanks Thomas.
You should be able to do
HTH
-- Nik
way too late...:)
For documentation, take a look at the wiki:
http://our.umbraco.org/wiki/reference/xslt
or Dougs great posts:
http://blog.percipientstudios.com/2009/4/11/anatomy-of-an-umbraco-xslt-file.aspx
http://blog.percipientstudios.com/2009/5/5/your-first-umbraco-xslt-macro.aspx
Cheers, Thomas
is working on a reply...