I have a use case where we want to display member only tabs in our menu but show them as disabled to anonymous users (along with some CSS styling to show a small lock next to the tab).
Ideally I'd like to perform a test in the XSLT file to see if a user has access to a tab and show the normal link, otherwise show the tab but disable the link and apply a css class.
Something like this:
<xsl:choose>
<xsl:when test="@useraccess = 1">
<a href="{@url}">
<xsl:value-of select="@text" />
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@text" />
</xsl:otherwise>
</xsl:choose>
Pouring over DDR example...wondering is this is possible.