Hi,
To avoid conflicts with the version of Xalan packaged in JDK 1.4, see this
FAQ: http://xml.apache.org/xalan-j/faq.html#faq-N100CB
.
If you are using a version of Xalan, prior to XalanJ 2.4.1, the nodeset
function is in the: xml.apache.org/xslt namespace. From XalanJ 2.4.1 and
up, the nodeset is in the: xml.apache.org/xalan namespace. The reason for
the change was to get all extension functions under the same namespace.
Ilene.
"Eran
Hammer-Lahav" To: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> cc:
Subject: Cannot find nodeset
extension
06/02/2003 02:04
PM
I get the following message when I try to use the nodeset:nodeset() method:
defaultType.xslt; Line #112; Column #35; XSLT Error
(javax.xml.transform.TransformerException):
java.lang.NoSuchMethodException:
For extension function, could not find method
org.apache.xml.dtm.ref.DTMNodeIterator.nodeset([ExpressionContext,] ).
I use the command line:
C:\>java -cp \bin\xercesImpl.jar;\bin\xml-apis.jar;\bin\xalan.jar
org.apache.xalan.xslt.Process -IN xml/OmmTypeInstrument.xml -XSL
schema/defaultType.xslt
It works if I remove the nodeset extension which means Java can find
everything else. I use java 1.4.1._03 which I also had to manually remove
the org.apache directory from its rt.jar because it was conflicting with my
newer installation of xalan.
Any help?
EL