You could have an instance to store the index of the actually clicked trigger, like this
<xforms:instance id="navigation">
<data>
<actual>1</actual>
</data>
</xforms:instance>
Then set this index when clicking the trigger using the set-value
action:
<xforms:trigger>
<xf:action ev:event="DOMActivate">
<xforms:toggle case="onerec" />
<xf:setvalue ref="instance('navigation')/actual" value="@kd"/>
</xforms:action>
<xforms:value ref="@kd" />
<xforms:label ref="@name" />
</xforms:trigger>
Then, to know the active case, use instance('navigation')/actual