Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Cannot access NodeList in JScript [Thread Next] Re: Cannot access NodeList in JScriptTo: NULL Date: 10/6/2004 1:28:00 PM Pat Buxton wrote: > I have done this and it now works great as long as I use the > XSLTransform object in .NET to transform the xml. If I enter the > stylesheet processing instruction into the xml, pointing at the > stylesheet, when I open the xml in IE 6, it gives me a scripting > error, assigning null > > eg. > function DoSomething(xpNodeIt) { > var xpNav=xpNodeIt.Current; // works fine in Transform, assigns null > in Browser > return ""; > } > > Am I missing something obvious Well you are using script extensions to XSLT 1.0 and these are depending on the XSLT processor used. If you use the .NET XSLT processor you have the .NET API while inside IE MSXML is used which provides a different API. Therefore extensions are not portable, if you want your XSLT stylesheet to run in different XSLT processors then don't use script extensions. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
