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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...