I'm converting some XSLT from old schema to the new one. But I'm having problems with this one:
<xsl:for-each select="umbraco.library:GetXmlAll()//node[GoogleMapsPicker != '' and @nodeTypeAlias = $docType]"> Right now the select does not return anything. The purpose of this is to loop through all nodes on the site that has map coordinates and a specific nodeTypeAlias.
umbraco.library:GetXmlAll() in 4.7.0
Hi
I'm converting some XSLT from old schema to the new one. But I'm having problems with this one:
<xsl:for-each select="umbraco.library:GetXmlAll()//node[GoogleMapsPicker != '' and @nodeTypeAlias = $docType]">
Right now the select does not return anything.
The purpose of this is to loop through all nodes on the site that has map coordinates and a specific nodeTypeAlias.
Can anybody help me out?
Thanks in advance
Try to change this to the following:
<xsl:for-each select="umbraco.library:GetXmlAll()//*[@isDoc and GoogleMapsPicker != '' and local-name() = $docType]">
is working on a reply...