Subject: RE: [xsl] calling java script in xsl From: "Rochak Palta" <rochak.palta@xxxxxxxxxxxxxx> Date: Mon, 6 Mar 2006 15:24:05 +0530 |
Hi, Thanks for the help. I have got what I wanted to achieve. Regards, Rochak -----Original Message----- From: Kamal Bhatt [mailto:kbhatt@xxxxxxxxx] Sent: Monday, March 06, 2006 2:44 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] calling java script in xsl Don't think it is possible, what you can do, is write the javascript (or the call to javascript) as a product of the xslt. If you have the function, just pass the values into it using xslt. eg: <a href="javascript:someFunction('blah', {$some_parameter}) ...> or <a> <xsl:attribute name="href">javascript:someFunction('blah', <xsl:value-of select="$some_parameter"/>)</xsl:attribute> </a> or you can write the javascript directly eg: <script> var hello = <xsl:value-of select="element"/> </script> If you want more details, you will have to give us more information. Cheers. Kamal. Rochak Palta wrote: >Hi, > >How do we call java script in xsl? > >Thanks, >Rochak > > > > -- Kamal Bhatt Tourism Technology Pty Ltd T: +61 (02) 9956 7300 F: +61 (02) 9956 7411 Level 10, 1 Pacific Highway, North Sydney, NSW 2060 http://www.tt.com.au -- Disclaimer: This email is confidential and may contain privileged information for the sole use of the person or business to which it is addressed. If you are not the intended recipient, please notify the sender by return e-mail or phone as you must not view, disseminate, distribute or copy this email without our consent. We do not accept any liability in connection with any computer virus, data corruption, incompleteness, or unauthorised amendment of this email. It is the sole responsibility of the receiver to scan for viruses before opening.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] calling java script in xs, Kamal Bhatt | Thread | Re: [xsl] calling java script in xs, andrew welch |
Re: [xsl] calling java script in xs, andrew welch | Date | Re: [xsl] [OT] Re: [xsl] External-g, Owen Rees |
Month |