Hi
I'm trying to put an "active" on a menu element and its parents by using
<xsl:if test="@Active='True' or @InPath='True'">active </xsl:if>
in my xslt. It does not work because every InPath attribute in my xml are false and the only Active attribute that is true is the home element. I'm using
<ul id="main-menu" class="dwnavigation collapse navbar-collapse navbar-static-top" data-settings="endlevel:2;expandmode:all;template:NavMainMegaDropdown.xslt">
in my template.
Does anybody know why the attributes are not set to true?
Regards Thomas