Copied to clipboard

Flag this post as spam?

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


  • Niels De Meyer 3 posts 23 karma points
    Nov 16, 2012 @ 16:02
    Niels De Meyer
    0

    Convert a line of code to the new xslt

    Hello,

    I can't get this line converted to the new xslt:

    <xsl:for-each select="$currentPage/descendant-or-self::node [@nodeTypeAlias= 'doc_PointsOfSaleCountry']/parent::node/node">

    I've made this out of it but it's not working on every page:

    <xsl:for-each select="$currentPage//doc_PointsOfSaleCountry [@isDoc]">

  • Niels De Meyer 3 posts 23 karma points
    Nov 16, 2012 @ 16:45
    Niels De Meyer
    0

    This is the answer:

    <xsl:for-each select="$currentPage/ancestor-or-self::doc_PointsOfSale//doc_PointsOfSaleCountry [@isDoc]">

Please Sign in or register to post replies

Write your reply to:

Draft