xslt - How to add javascript script tag in XSL file -


i want add code shown below in xsl not displaying when generate in html.

<head>   <script src='https://js.dmtry.com/channel.js#gid:3299;advid:899;pid:389827'> </script> </head> 

the script tag not closing when generated in html.

perhaps saying getting output:

<script src="https://js.dmtry.com/channel.js#gid:3299;advid:899;pid:389827"/> 

when, actually, expecting this:

<script src="https://js.dmtry.com/channel.js#gid:3299;advid:899;pid:389827"></script> 

if so, try specifying output method in xslt "html", so:

<xsl:output method="html" /> 

Comments