I'd say you should look in the implementation of TypedContentAtXPath() - it may filter out nodes that for some reason can't be converted to complete models?
Are the 44 you get by any chance "top" levels (i.e., are all the missing ones descendants of those 44)?
Seems like missing ones are descendants. For now i am going to do it with Descendants() and linq (somewhere some kittens have died) but this page is a one off so not to fussed about performance.
Umbraco xpath issue
I am trying todo the following in umbraco 7.5.3
This xpath gives me 44 items. However I have more than that. When i open the xml config cache file in notepad++ and run generated xpath i.e
I get the right number. Is there a bug with xpath in Umbraco?
Regards
Ismail
Hi Ismail,
I'd say you should look in the implementation of
TypedContentAtXPath()
- it may filter out nodes that for some reason can't be converted to complete models?Are the 44 you get by any chance "top" levels (i.e., are all the missing ones descendants of those 44)?
/Chriztian
Seems like missing ones are descendants. For now i am going to do it with Descendants() and linq (somewhere some kittens have died) but this page is a one off so not to fussed about performance.
Regards
Ismail
is working on a reply...