문제

I am trying to pass this value in data attribute but I don't know how to retrieve in XSL. Without putting it in data attribute, I am getting the value.

http://xsltransform.net/bFukv8i/9

Providing a snippet of my XSL code below:

<article class="banner-hero banner-hero--blocks" data-nav-title="<xsl:value-of select='//Devices//SideMenu//NavTitle'/>"></article>
        <script>

올바른 솔루션이 없습니다

다른 팁

Use <article class="banner-hero banner-hero--blocks" data-nav-title="{//Devices//SideMenu//NavTitle}"></article>, that is called an attribute value template.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top