Title: Question: Can a Java application dynamically load specific versions of xerces.jar and xalan.jar

Is there a way for a Xerces-Java/Xalan-Java application to dynamically load specific versions
of xerces.jar and xalan.jar files independent of what is specified in the CLASSPATH, so that all
DOM and XSLT methods called are guaranteed to be from the specific xerces.jar and xalan.jar files
and not from some other JAR files specified in the CLASSPATH.
I am looking for a Java facility for JAR files which is analogous to dynamically loading C and C++ libraries on
Sun Solaris using dlopen or on Windows using the Win32 API function LoadLibrary.
Can it be done with the java.lang.ClassLoader or some other standard classes?
Can someone point me to some sample code which demonstrates how to do this?


Thanks.
Barry Draper
[EMAIL PROTECTED]

Reply via email to