Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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]">
This is the answer:
<xsl:for-each select="$currentPage/ancestor-or-self::doc_PointsOfSale//doc_PointsOfSaleCountry [@isDoc]">
is working on a reply...
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.
Continue discussion
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]">
This is the answer:
<xsl:for-each select="$currentPage/ancestor-or-self::doc_PointsOfSale//doc_PointsOfSaleCountry [@isDoc]">
is working on a reply...
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.