For extension functions, see ExpressionContext.getVariableOrParam(QName). Gary
> -----Original Message----- > From: Tony Nys [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 2:20 AM > To: [EMAIL PROTECTED] > Subject: xalan 2.3D1 and access variables fromjaav extension > based on XPathCOntext > > > > How we can acces local and global variables by QName from > java extension (based on XpathContext) previously it was > xpc.getVariable(QName name) > > For global variables it is not a problem, because there is > getGlobalVariableOrParam(Qname name), but for local variables > it is different. > Now it is changed to getLocalVariable(int index); > how we can link QName with index? >
