Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Cannot access NodeList in JScript

From: Martin Honnen <mahotrash@-----.-->
To: 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/


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