[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|