[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl: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
|
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
|