However I would like to access the root node from a xslt file which is an include, which if I'm not mistaken does not have automatically have access to the currentpage variable.
I'm sure I could pass the currentpage over to the include but I don't need it.
How can I write the above without the currentpage variable?
Getting the root node without currentpage
I usually use this to get to the root of the site
However I would like to access the root node from a xslt file which is an include, which if I'm not mistaken does not have automatically have access to the currentpage variable.
I'm sure I could pass the currentpage over to the include but I don't need it.
How can I write the above without the currentpage variable?
Cheers
Rich
You should be able to use:
I believe it starts at the root
You are right Sean. The GetXmlAll-extension actually shows the XML of the entire tree. So I have to agree - that should do the trick.
/Kim A
Hi guys,
Sorry for not replying earlier, should work a treat.
Cheers
Rich
is working on a reply...