Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Cannot access NodeList in JScript

From: "Patrick Buxton" <patrick.buxton@------.--.-->
To: 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???




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent