How to code Umbraco XSLT to retrieve Nodes from unrelated tree
Posted
by
Phil.Wheeler
on Pro Webmasters
See other posts from Pro Webmasters
or by Phil.Wheeler
Published on 2012-09-24T01:23:39Z
Indexed on
2012/09/24
3:51 UTC
Read the original article
Hit count: 476
cms
I have an Umbraco site for personal use that I want to also use as a blog.
I'm trying to put together the XSLT to grab the top three posts from the nodes in the Blog tree (node id = 1063) and display these on a tab page that is incorporated into the front page.
The following image illustrates the node hierarchy:
With my extremely limited appreciation of XSLT, I'm unable to grab the node ID of the "Blog" id and take the 3 pages below that to display in the "Top Posts" part of my site which is found under the "Frontpage Tabs" node. All the examples I find work with the "current page", which is typically the top-level node, "Personal Site".
How should I accomplish this?
© Pro Webmasters or respective owner