This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Javascript invokation in XSL


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]