I have the same problem.  The setSystemID seems to
work for only the first source sheet.  Any stylesheets
imported in this sheet go back to the working
directory even if you use setSystemID.

would appreciate any answers as well.

Sandeep
--- [EMAIL PROTECTED] wrote:
> 
> 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]
> 
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Reply via email to