Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 886 posts 2415 karma points
    Mar 26, 2013 @ 15:13
    Claushingebjerg
    0

    listing subpages from multiple nodes

    I need to list subnodes from two different parents in one list...

    I thought i might do 

    <xsl:for-each select="umbraco.library:GetXmlNodeById(1280)/* [@isDoc and string(umbracoNaviHide) != '1']|| umbraco.library:GetXmlNodeById(1301)/* [@isDoc and string(umbracoNaviHide) != '1']">

    But guess what. That doesn't work :|

    Any idea how to do this?

     

  • Claushingebjerg 886 posts 2415 karma points
    Mar 26, 2013 @ 19:39
    Claushingebjerg
    100

    Ok, so just one pipe character, not two :)

     

    <xsl:for-each select="umbraco.library:GetXmlNodeById(1280)/* [@isDoc and string(umbracoNaviHide) != '1'] | 
    umbraco.library:GetXmlNodeById(1301)/* [@isDoc and string(umbracoNaviHide) != '1']"
    >

     

    Thanks @Chriztian Steinmeier

  • 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