Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For example, let's say these are my content nodes:
Content Homepage About Us Products Etc.
What XPath code will get me all of the Content nodes? Thanks.
./ancestor::root/node
... or
umbraco.library:GetXmlAll()
if your working from xslt and
umbraco.presentation.nodeFactory.Node topNode = new umbraco.presentation.nodeFactory.Node(id); //think you need to pass -1 to get all nodes from the content tree
if working from .net c# code
Hope this helps.
Regards,
/Dirk
That worked. Thanks!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How can I retrieve ALL Content nodes?
For example, let's say these are my content nodes:
Content
Homepage
About Us
Products
Etc.
What XPath code will get me all of the Content nodes? Thanks.
./ancestor::root/node
... or
if your working from xslt and
if working from .net c# code
Hope this helps.
Regards,
/Dirk
That worked. Thanks!
is working on a reply...