Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ivan Thorsen 16 posts 57 karma points
    Oct 04, 2011 @ 17:00
    Ivan Thorsen
    0

    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

  • Rodion Novoselov 694 posts 859 karma points
    Oct 04, 2011 @ 21:34
    Rodion Novoselov
    0

    Try to change this to the following:

    <xsl:for-each select="umbraco.library:GetXmlAll()//*[@isDoc and GoogleMapsPicker != '' and local-name() = $docType]">
Please Sign in or register to post replies

Write your reply to:

Draft