I am using XSLT Transformation and you need to put some data in the CDATA section and that vale is present in the variable.
Query: how to access a variable in CDATA? Example below:
<xsl:attribute name ="attributeName">
<![CDATA[
I need to access some variable here like
*<xsl:value-of select ="$AnyVarible"/>*
]]>
</xsl:attribute>
How to use varibale in CDATA? Note: I can not use → <![CDATA[<xsl:value-of select ="$AnyVarible"/>]]>
Thanks in advance.
source
share