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 JScript Re: Cannot access NodeList in JScriptTo: NULL Date: 10/5/2004 10:19:00 PM "Oleg Tkachenko [MVP]" <oleg@no_!spam!_please!tkachenko.com> wrote in message news:uS7PpWwqEHA.3848@T...... > 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 > > > Yep. You are missing that in .NET it's JScript.NET with .NET classes > like XPathNodeIterator, while in IE it's JScript with MSXML. > > -- > Oleg Tkachenko [XML MVP] > http://blog.tkachenko.com Is there any way I can write the stylesheet so that it will work both ways??? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
