If Condition Inside Data Attribute Of Html Using Xsl
I am trying to write an if condition inside my data attribute... right now I am receiving the xsml vaue but dont know how to put if there... when i use if outside html it works fin
Solution 1:
using XSL 2.0, you can do this
<article class="banner-hero banner-hero--blocks" data-nav-title="{if (//Devices//SideMenu//NavTitleCheckBox='SideMenu') then //Devices//SideMenu//NavTitle else ()}">
</article>
Post a Comment for "If Condition Inside Data Attribute Of Html Using Xsl"