I need to read all nodes and filter on the Document Type. I believe there isn't a nodeTypeAlias anyomre and that I will need to use nodeType instead but can't find any examples of using the API with Umbraco 4.5.
Would I be better off using Linq to Umbraco? If so, does anyone have any example code?
using umbraco.library.GetXmlAll() in 4.5
Could anyone help me?
I need to read all nodes and filter on the Document Type. I believe there isn't a nodeTypeAlias anyomre and that I will need to use nodeType instead but can't find any examples of using the API with Umbraco 4.5.
Would I be better off using Linq to Umbraco? If so, does anyone have any example code?
Thanks
Kevin
Are you trying to do it in .NET or XSLT?
In XSLT the name of the XML node is the alias of the document type, so you can do:
Otherwise you can use LINQ to Umbraco, you then end up with a strongly typed collection of the nodes
is working on a reply...