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: ed billings <edbi at crt dot com>
- Date: Tue, 06 Jun 2000 15:47:45 -0500
- Organization: bank of america
- References: <B5627886.64F2%rob@koberg.com> <393D5741.5F6C36AB@ecomserver.com>
- Reply-To: xsl-list at mulberrytech dot com
You need to you extension to your parser . . . .
I use xalan . . . . for more info . . . go to:
http://xml.apache.org/xalan/extensions.html
If you yse another parser . . . check there webpages for information about
extension
ed
Samir Narendra Sardar wrote:
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list