DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15924>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15924 Getting variable value from Java Extension Summary: Getting variable value from Java Extension Product: XalanJ2 Version: 2.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.extensions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We need to access variable from Java Extension. I found that it is possible to do by using XPathContext.getExpressionContext().getVariableOrParam(qname); But when I try to do it I get an exception: --------- java org.apache.xalan.xslt.Process -IN test.xml -XSL test.xsl <?xml version="1.0" encoding="UTF-8"?> file:///D:/apache.prj/xalan-j_2_4_1/test.xsl; Line #11; Column #26; XSLT Error ( javax.xml.transform.TransformerException): Variable not resolvable: ddd ------------- Java source file, xml and xsl are attached
