Wednesday, June 5, 2013

check if current web is root web or sub web in XSL

[Code]

<xsl:if test="string-length($WebUrl) = 3">          <a href="Forms/AllNews.aspx?RootFolder=/Pages/News">          <xsl:text disable-output-escaping="yes"> </xsl:text></a>          </xsl:if>

No comments:

Post a Comment