Hi,
you can even use it in this way
<script language="javascript">
var allUrls = new Array();
<xsl:for-each select="/econnect/LoginUrls/loginurl">
allUrls[allUrls.length]="<xsl:value-of select="code"/>|<xsl:value-of
select="value"/>";
</xsl:for-each>
<!--
you can have java script as well as xsl tags inside if you are taking some
values.
-->
</script>
char0x30 <robertfrapples@...> wrote:
--- In struts-xsl@yahoogroups.com, "maheshteck" <maheshteck@...>
wrote:
>
> Hello techfriends,
>
> i want to insert javascript code inside xsl file.
> Any sample code for this issue.
> Is anyone help in this?
>
> Thanks
> Mahesh
>
<xsl:text>
<html:script language="javascript">
javacript here
</html:script>
</xsl:text>
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.
[Non-text portions of this message have been removed]