GetXmlNodeById() does not return root after patch upgrade
Hi All,
After upgrading from 4.0.0 to 4.0.2, the xslt shown below does not any longer return all children nodes of root. If I change "-1" to e.g. "1254" which is an existing node id, it works fine, but "-1" will not return anything. Does anyone know why this would happen after the patch upgrade?
Yes, that works, and I actually tried that yesterday, but was not sure that the output is the same, is it? Does not GetXmlAll() return "all" xml elements?
Any clue why GetXmlNodebyId(str) would not work anymore?
GetXmlNodeById() does not return root after patch upgrade
Hi All,
After upgrading from 4.0.0 to 4.0.2, the xslt shown below does not any longer return all children nodes of root. If I change "-1" to e.g. "1254" which is an existing node id, it works fine, but "-1" will not return anything. Does anyone know why this would happen after the patch upgrade?
thanks in advance,
synsat
Hi synsat,
Does it work when using:
<xsl:for-each select="umbraco.library:GetXmlAll()/descendant::node [@nodeTypeAlias = 'Folder']">
Cheers,
Dirk
Thanks Dirk,
Yes, that works, and I actually tried that yesterday, but was not sure that the output is the same, is it? Does not GetXmlAll() return "all" xml elements?
Any clue why GetXmlNodebyId(str) would not work anymore?
Regards
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.