Copied to clipboard

Flag this post as spam?

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


  • bob baty-barr 1180 posts 1294 karma points MVP
    May 22, 2012 @ 21:22
    bob baty-barr
    0

    Multi-Url Picker recursive question

    i typically use somethign like this to get properties recursively...

    <xsl:for-each select="umbraco.library:GetXmlAll()//*[normalize-space(relatedDocs/multi-url-picker/url-picker)][1]/relatedDocs/multi-url-picker/url-picker">

    oddly, this gives me a running list of ALL urls regardless of level - instead of getting the links at this level OR the next highest found data?

     

    any thoughts?

  • Tom Fulton 2030 posts 4996 karma points c-trib
    May 22, 2012 @ 21:59
    Tom Fulton
    1

    Hi Bob,

    Any reason why you are using GetXmlAll()//*?  I think you should be using $currentPage/ancestor-or-self::* instead

    -Tom

  • bob baty-barr 1180 posts 1294 karma points MVP
    May 22, 2012 @ 22:13
    bob baty-barr
    0

    thanks @tom - that was it... #h5yr!

  • 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.

Please Sign in or register to post replies