From: <[EMAIL PROTECTED]> > Suppose that you want to run the following command: > % java org.apache.xalan.xslt.Process -in subdir1/subsir2/test.xml -xsl > subdir1/subdir2/test.xsl -xsltc -xt > > This command will use the translet to do the transformation if it exists in > the subsir1/subdir2 directory. You don't need to add subdir1/subdir2 to the > CLASSPATH before using the translet.
The CLASSPATH could be extended programmatically inside the Process class; there's no need for the user to speficy that. > Also I don't understand why setting the destination-directory does not work > for this example. If I understood Bruno correctly, the reason is that the Translet is inside a JAR; this is why, in my view, using CLASSPATH fits better in the JRE model. -- Santiago