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

Re: xsl:script

Subject: Re: xsl:script
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 19 Jan 2001 16:30:19 GMT
xsl namespace script
> I have to write simple functions in JavaScript like
> obtaining month name from the number of the month,
> calculating the month accoring to week number and so on.
> I do not think xsl includes each and every feature you
> might need.

True, actually you could write those particular examples in xsl, but I
take your point.

> I do use MSXML3, but it complains in xsl:script
> tag if I use current xsl namespace.

As it should. xsl:script was always a microsoft extension and shouldn't
have been in the xsl namespace (even the old namespace used by IE)
MSXML3 does it right and provides an extension namespace for extension 
functions. 

By convention people often bind the extension namespace to the prefix
msxsl, that's why I said you could use msxsl:script to get the
functionality you were looking for.

there are examples in the SDK for MSXML3.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.