I want to add code shown below in my XSL but it is not displaying properly when I generate it in HTML.
<head>
<script src='https://js.dmtry.com/channel.js#gid:3299;advid:899;pid:389827'> </script>
</head>
The script tag is not closing properly when generated in HTML.
script src? Or only when you referencehttps://js.dmtry.com/channel.js#gid:3299;advid:899;pid:389827? I don't see anything wrong with your postedscriptelement syntax, neither in terms of HTML nor in terms of XSLT. What happens when you write a static HTML document with<script src='https://js.dmtry.com/channel.js#gid:3299;advid:899;pid:389827'> </script>, does the browser load and display it as you want?