[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Using msxsl:script or EXSLT function to define a f

Subject: RE: Using msxsl:script or EXSLT function to define a function
From: krishnas@xxxxxxxxxxxxx
Date: Wed, 18 Jun 2003 10:12:40 +0530
script getelementbyid
Claudio:

<xsl:template match="/">


      <body bgcolor="#ffffdd">   

<script language="javascript">

function validate(refnum)
{
        if( bool==1)
        {
         
        }     
 
       oldnum=refnum;
       bool=1;
       document.getElementById(refnum).focus();
}
</script>


you define your  script function after "  <xsl:template match="/">  "   
and u call your  script function like this  in your template;


<a href="javascript:validate('{$home}'); ">
   <xsl:value-of select="message_ref_number"/>
</a>


i hope this works.

cheers
krishnakishore



-----Original Message-----
From: Claudio Russo [mailto:claudio_russo@xxxxxxxxx]
Sent: Wednesday, June 18, 2003 9:15 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Using msxsl:script or EXSLT function to define a function


Does anybody know how to use msxsl:script to define a
javascript function, or EXSLT function definition?

I'm not able to use it inside xsl: without having
error.


=====
Regards, Claudio.

IT Consultant.
Buenos Aires, Argentina.
e-mail: claudio_russo@xxxxxxxxx


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.