I have an xsl sheet which process some xml data.
I have used
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
Now I need to inser some HTML tags dynamically for which I used

javascript like the one below to create a <div id="sss9"> tag
<script language="Javascript"><![CDATA[
document.write('&lt;'+'div id = "'+variable+'"'+'&gt;');

I tried "< and >" this sign still no good. IT is printing the whole tag as
text in the html page.

If any one could help it will be very great