Apparently, it is impossible to directly call an external function from xsl:apply-templates. I have an XML node containing html tag for example :
<text>
<ul>
<li>
blablablaba
</li>
</ul>
<text>
In my output, if I want the html tags to be applied, I need to use xsl:apply-templates select="text"/>. I can't use xsl:value-of since it won't consider the HTML. Now the problem is that I need to call a function which will transform the html tags so my code would be :
<xsl:apply-templates select="util:myFunction(text)"/>
However, this will result in an error, is there another way I could do this ?
Thanks in advance.