Xalan should always use the SystemID of javax.xml.transform.Source... it
will only use the user working dir if you don't set this. So just call
setSystemId(String systemId) on the Source objects you hand to Xalan.
-scott
Bjoern Martin
<mabj0011@fh-kar To: [EMAIL PROTECTED]
lsruhe.de> cc: (bcc: Scott Boag/CAM/Lotus)
Subject: XalanJ-2: Multithreaded
transformations, but different
06/15/2001 08:51 working dirs
AM
Please respond
to xalan-dev
Hi.
I use Xalan-J 2 multithreaded to transform different docs with
different stylesheets, located at different working directories. My
problem is that I have to set the user working dir to the stylesheet
working dir to make it find referenced documents/stylesheets within
the documents/stylesheets. But as more that one transformation may
occur at a time with transformer instances not knowing of each other,
I have to synchronize the execution of the stylesheets, so only one
transformer at a time sets the user working dir.
Q: Is there a way to tell Xalan-J which directory to use without
changing the user working dir?
Thanx for any help.
Regards.
--
Bjoern Martin [EMAIL PROTECTED]
