> I get this error when I try to use XPathAPI.getNodeIterator method: > > java.lang.RuntimeException: Programmer's assertion in getNextStepPos: > unknown stepType: -1 > > The code snippet is: > > NodeIterator ni = XPathAPI.selectNodeIterator(root, > "//xsl:[EMAIL PROTECTED] =='"+ xp +"']"); >
It could because of the '=='. It's not a valid XPath expression. It should be "//xsl:[EMAIL PROTECTED] ='"+ xp +"']" -Pavani -- Pavani Mukthipudi Sun Microsystems, Inc. Phone: 91-80-2298989/87390
