I'm using a Umbraco data type menu to create some small menus.
My issues is that i don't know how to get data from menu inside xslt.
In designer looks fine and i have 4 menu items. When i read them in xslt with <xsl:value-of select="$site/footerMenu1"/> i got ..."THE FOUNDATIONlink1_hereTHE BOARDlink2_hereNEWS#PRESS#"
What i want is to iterate somehow the Menu items to optain something like this:
<ul class="links">
<li><a href="link1_here">THE FOUNDATION</a></li>
<li><a href="#">THE BOARD</a></li>
<li><a href="#">NEWS</a></li>
<li><a href="#">PRESS</a></li>
</ul>
If anyone knows how to access that menu object from xxlt please let me know.
How to display Umbraco Data type Menu in xslt
Hello,
I'm using a Umbraco data type menu to create some small menus.
My issues is that i don't know how to get data from menu inside xslt.
In designer looks fine and i have 4 menu items. When i read them in xslt with <xsl:value-of select="$site/footerMenu1"/> i got ..."THE FOUNDATIONlink1_hereTHE BOARDlink2_hereNEWS#PRESS#"
What i want is to iterate somehow the Menu items to optain something like this:
<ul class="links">
<li><a href="link1_here">THE FOUNDATION</a></li>
<li><a href="#">THE BOARD</a></li>
<li><a href="#">NEWS</a></li>
<li><a href="#">PRESS</a></li>
</ul>
If anyone knows how to access that menu object from xxlt please let me know.
Thank you
Mihai
is working on a reply...