How to embed javascript and html inside xslt

/ Published in: XSLT
Save to your folder(s)

Place the following inside a `` block

Copy this code and paste it in your HTML
  1. <xsl:text disable-output-escaping="yes">
  2. <![CDATA[
  3. <script type="text/javascript">
  4. alert("you can use javascript");
  5. </script> <strong>HTML Content</strong>
  6. ]]></xsl:text>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.