Developer forum

Forum » Development » Howto fetch globaltags values in navigation xslt

Howto fetch globaltags values in navigation xslt


Reply

Is it possible to test a globaltag value in navigation xslt template ?

 

I want to test if Global:Page.Top.Name contains a specific value.

 

Pseudo code:

<xsl:if test="GlobalTags/Global.Page.Top.Name = 'Toplevel'">
 <li class="L1 red">
  <a class="L1 red">Toplevel</a>
 </li>
</xsl:if>


Replies

 
Reply
mjh@senta.fo wrote:

Is it possible to test a globaltag value in navigation xslt template ?

 

I want to test if Global:Page.Top.Name contains a specific value.

 

Pseudo code:

<xsl:if test="GlobalTags/Global.Page.Top.Name = 'Toplevel'">
 <li class="L1 red">
  <a class="L1 red">Toplevel</a>
 </li>
</xsl:if>


 

This is currently not possible.

 

You must be logged in to post in the forum