Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange error.

13 views
Skip to first unread message

Деймонах Аононадо

unread,
Apr 16, 2015, 7:55:29 AM4/16/15
to
I'm trying to use xslt transformation using XSL file, containing javascript.
Everything works fine exept one moment:
when I try to look throwgh all child nodes with objXMLNodes[...].selectNodes("./*") I got exeption:

Function expected:
in Microsoft.JScript.LateBinding.CallValue(Object val, Object[] arguments, Boolean construct, Boolean brackets, VsaEngine engine, Object thisob, Binder binder, CultureInfo culture, String[] namedParameters)
in Microsoft.JScript.LateBinding.CallValue(Object thisob, Object val, Object[] arguments, Boolean construct, Boolean brackets, VsaEngine engine)
.....

What is wrong?
When I use the same XSL via FreeThreadedDOMDocument in ASP - everything works good.
In System.Xml.XmlDocument (C#) - got an error.

What may be wrong?

Bjoern Hoehrmann

unread,
Apr 17, 2015, 3:06:05 PM4/17/15
to
* You wrote in microsoft.public.xsl:
>when I try to look throwgh all child nodes with objXMLNodes[...].selectNodes("./*") I got exeption:
>
>Function expected:

A guess would be that `objXMLNodes[...]` is null.
--
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoernsworld.de
0 new messages