umbraco如何将XSLT与C#代码混合使用
||
看一下这段代码:
<ul>
<xsl:for-each select=\"$currentPage/node\">
<li><a>
<xsl:attribute name=\"href\">
<xsl:value-of select=\"umbraco.library:NiceUrl(current()/@id)\"/>
</xsl:attribute>
<xsl:value-of select=\"current()/@nodeName\"/>
</a>
</li>
</xsl:for-each>
</ul>
如您所见,xslt中包含umbraco命令。这到底是怎么做的?如何在xslt中放入自己的C#命令?
没有找到相关结果
已邀请:
2 个回复
浆错
河饶办斜施