[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: Claudio Russo <claudio_russo@xxxxxxxxx>
Date: Wed, 18 Jun 2003 05:11:07 -0700 (PDT)
msxsl script
Jason,

This is what puzzles me. What is this "user"
definition? I don't have it in my code. Maybe is cause
of this that doesn't work? What do I need to place
there (I mean in the "estudio.xrs.net" or whatever is
the uri)?

Claudio.

--- Jason <estudio@xxxxxxxxx> wrote:
> You may try this XSLT:
> 
> <xsl:stylesheet version="1.0"
> xmlns:fo="http://www.w3.org/1999/XSL/Format"
> xmlns:msxml="urn:schemas-microsoft-com:xslt"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:user="http://estudio.xrs.net">
> 	<msxml:script language="JavaScript"
> implements-prefix="user"><![CDATA[ 
> 	function checking(){
> 		return "testing";
> 	}
> 	]]></msxml:script>
> 	<xsl:template match="/">
> 		<xsl:value-of select="user:checking()"/>
> 	</xsl:template>
> </xsl:stylesheet>
> 
> this is a simple example, you also can using
> parameters in the
> user-defined functions.
> 
> Jason
> 
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Claudio
> Russo
> Sent: 2003¦~6¤ë18¤é 11:45
> 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
> 


=====
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


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.