It looks like that you are using a very old version of Xalan. Did you use
JDK 1.4? Please see this FAQ
(http://xml.apache.org/xalan-j/faq.html#faq-N100CB) on how to use Xalan
with JDK 1.4.

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]



                                                                                
                                                   
                      Howard Savin                                              
                                                   
                      <[EMAIL PROTECTED]        To:       "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>          
                      mentum.com>               cc:                             
                                                   
                                                Subject:  EXSLT dynamic 
evaluate with Xalan                                        
                      04/16/2003 04:59                                          
                                                   
                      PM                                                        
                                                   
                                                                                
                                                   
                                                                                
                                                   



I am trying to use the EXSLT dynamic function evaluate.  My stylesheet
contains:


<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"; xmlns:xalan="
http://xml.apache.org/xalan";


xmlns:dyn="http://exslt.org/dynamic"; extension-element-prefixes="dyn
xalan">


I am not attempting to perform an xsl:import.


Later, in my transform, I call the evaluate function as shown:


        <xsl:variable name="datetest" select="dyn:evaluate($dataLink)"/>

I get the error:


file:///C:/trash/Howard%20Savin/EXSLT/publish.xsl; Line 56; Column 66; XSLT

 Error (javax.xml.transform.TransformerException):
java.lang.NoSuchMethodException: For extension function, could not find
method org.apache.xpath.axes.WalkingIteratorSorted.evaluate
([ExpressionContext,] ).


Has anyone gotten this EXSLT function to work?


Thanks,
Howard






Reply via email to