Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XSLT scripts [Thread Next] Re: XSLT scriptsTo: NULL Date: 1/4/2005 12:11:00 AM The .NET XslTransform class supports it as well. If yaya is talking about running Javascript code, as an extension function, inside an XSLT, you might want to take a look at http://www.exslt.org/ (which, unfortunately, appears to be down at the moment). There are efforts for EXSLT.NET as well. Dimitre Novatchev wrote an interesting article on how to implement EXSLT in MSXML as well, but in the past I've simply "borrowed" the extensions I needed, and coded them into my XSLT. One thing though: I would also strongly caution yaya about using Javascript that exhibits side effects. Do not use Javascript to "get around" the immutability of xsl variables. In other words, don't use global variables at all in extension functions--make sure your extensions are all pure functions. If yaya is talking about executing an XML/XSLT transformation using javascript, that's another matter altogether, and I've got a lot of examples on my site: http://rdcpro.com Regards, Mike Sharp "Neil Smith [MVP Digital Media]" <neil@n...> wrote in message news:kkgat0hui8b75cnto4e1q2ceistir77t52@4...... > Very few processors support javascript - only MSXML and Sablotron that > I know of for sure (and you need to load the extension for Sablotron). > > This page shows the typical MS syntax and namespaces you need to add : > http://msdn.microsoft.com/msdnmag/issues/0900/xml/figures.asp#fig10 > > You might also benefit from this search : > http://www.google.co.uk/search?hl=en&safe=off&q=msxml%3Ascript+site%3Amsdn.microsoft.com&meta= > > Cheers - Neil > > On Fri, 31 Dec 2004 09:59:20 -0800, "guruyaya" <guruyaya@0...> > wrote: > >>Hello all >>I could not find any good matirial that explains the usage of javascript >>based scripts in XSLT. If anyone has a link, or knows a good book about >>it, >>plz send me a link or a notice. >>10x in advance >>yaya >> > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
