javascript for loop in xslt

wxdqz

New Member
Hi, i am writing this simple code snippet in the xsl.
Using for loop giving me errors.
can anyone help how to use the for(javascript) loop in xslt.

<xsl:template match="/">
<script language="javascript">
for(i=0;i<5;i++)
{
alert("Hi");
}
</script>
</xsl:template>

thnx
raj
 
Back
Top