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 am trying to change some of my xslt scripts to razor
how can i get this running in razor?
<xsl:for-each select="$currentPage/ancestor-or-self::* [@level = 1]//tagCloudItems/items/item">
Something along these lines?
@foreach (var item in Model.AncestorOrSelf().DescendantsOrSelf("tagCloudItems").DescendantOrSelf("items").items){@item.Name}
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
xslt to razor question
Hello,
I am trying to change some of my xslt scripts to razor
how can i get this running in razor?
<xsl:for-each select="$currentPage/ancestor-or-self::* [@level = 1]//tagCloudItems/items/item">
Something along these lines?
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.