Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Cannot access NodeList in JScript >Thread Next - Re: Cannot access NodeList in JScript Re: Cannot access NodeList in JScriptTo: NULL Date: 10/1/2004 2:55:00 PM Pat Buxton wrote: > I'm attempting to convert some old xsl documents so I can use the > XSLTransform object in .NET and have been replacing the old xsl:eval > tag with xsl:value-of. I can't seem to access the mode passed though > if I use "." or current(). The old xsl:eval used to pass "this". Can > anyone help please?? The documentation lists the .NET types arguments passed from XSLT to script have: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlXslXslTransformClassTopic.asp An XSLT/XPath node set passed to a script function has the type System.Xml.XPath.XPathNodeIterator so there is no NodeList available but instead a subclass of that abstract class XPathNodeIterator and you need to use the properties (like Current) and methods (like MoveNext()) of that class. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
