Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 939 posts 2574 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 939 posts 2574 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

Please Sign in or register to post replies

Write your reply to:

Draft