This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Javascript invokation in XSL
- To: xsl-list at mulberrytech dot com
- Subject: Re: Javascript invokation in XSL
- From: Samir Narendra Sardar <ssardar at ecomserver dot com>
- Date: Tue, 06 Jun 2000 15:55:46 -0400
- References: <B5627886.64F2%rob@koberg.com>
- Reply-To: xsl-list at mulberrytech dot com
Thanks for the reply.
I wanted to know how to call the javascript function from inside the XSL.
I does NOT matter how u define the prolog of <script> tag.
Thanks.
Robert Koberg wrote:
> shouldn't it be:
>
> <![CDATA[
> <SCRIPT LANGUAGE="JavaScript">
> function Test()
> {
> [.....code....]
> }
> </SCRIPT>
> ]]>
>
> I assume you are trying to get this code to run on the client, right?
>
> > From: Samir Narendra Sardar <ssardar@ecomserver.com>
> > Reply-To: xsl-list@mulberrytech.com
> > Date: Tue, 06 Jun 2000 10:58:20 -0400
> > To: XSL-List@mulberrytech.com
> > Subject: Javascript invokation in XSL
> >
> > Hi...
> > I was surfing the XSL lists and I am having the same problem what u
> > guys
> > have about the Javascript as how to call a javascript function from XSL.
> >
> > <SCRIPT LANGUAGE="JavaScript"><![CDATA[
> > function Test()
> > {
> > [.....code....]
> > }
> > ]]></SCRIPT>
> >
> > Can u please tell me how to write a invoking function in XSL?
> >
> > javascript:Test(<xsl:value-of select="//SOMETHING"/>)
> >
> > Thanks in advance.
> >
> > Regards,
> > Samir Narendra Sardar.
> >
> >
> >
> >
> >
> > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list