Search the web
Sign In
New User? Sign Up
struts-xsl · Struts for Transforming XML with XSL
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
insert Javascript code inside xsl file   Message List  
Reply | Forward Message #2663 of 2669 |
Re: [struts-xsl] Re: insert Javascript code inside xsl file

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]





Fri Oct 13, 2006 4:36 am

jupk_ps
Offline Offline
Send Email Send Email

Forward
Message #2663 of 2669 |
Expand Messages Author Sort by Date

Hello techfriends, i want to insert javascript code inside xsl file. Any sample code for this issue. Is anyone help in this? Thanks Mahesh...
maheshteck
Offline Send Email
Oct 12, 2006
5:12 pm

... <xsl:text> <html:script language="javascript"> javacript here </html:script> </xsl:text>...
char0x30
Offline Send Email
Oct 12, 2006
5:40 pm

Hi, you can even use it in this way <script language="javascript"> var allUrls = new Array(); <xsl:for-each select="/econnect/LoginUrls/loginurl"> ...
Padmasree Potukuchi
jupk_ps
Offline Send Email
Oct 14, 2006
2:43 am

Hi, http://courses.washington.edu/dlis545/jsXSL.htm Hope the above link will throw some light on inserting javascript in XSL... Ravi Padmasree Potukuchi...
govind ravi
raraavis_rg
Offline Send Email
Oct 14, 2006
8:07 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help