Hi, Hari. Hariprasath Manivannan <[EMAIL PROTECTED]> wrote on 2005-12-20 05:25:08 PM: > I have been using Xalan2.3 and my XSL contains the following line > <xsl:variable name="myVar" select="java:com.mycompany.myclass.mymethod(/)"/> > > I want to pass the entire XML Dom as a parameter to my java method > as a NodeList > > When I use the same XSL with Xalan2.7 I am getting the following error: > > ; Line#: 60; Column#: 98 > ; Line#: 60; Column#: 98 > javax.xml.transform.TransformerException: A location step was > expected following the '/' or '//' token.
Are you certain that line in your stylesheet is causing the problem? I was unable to reproduce the problem in a stylesheet that included that line. Please provide a complete, stand-alone test case (stylesheet and input document) that demonstrates the problem so that we will be able to do more investigation. Thanks, Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044 mailto:[EMAIL PROTECTED]