Hi, Bernard

The Xalan TrAXFilter class already has a getTransformer() method, if you
use a Xalan release later than 2.5.0. I just added the same interface to
XSLTC's TrAXFilter. You can check out code from the latest CVS to give it a
try.

Regards,

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]



                                                                                       
                                              
                      "Bernard D'Have"                                                 
                                              
                      <[EMAIL PROTECTED]        To:       <[EMAIL PROTECTED]>          
                                        
                      .be>                     cc:                                     
                                              
                                               Subject:  Suggestion: Add Transformer 
getter to TrAXFilter                            
                      06/23/2003 03:53                                                 
                                              
                      PM                                                               
                                              
                      Please respond to                                                
                                              
                      xalan-dev                                                        
                                              
                                                                                       
                                              
                                                                                       
                                              



Hi,

I'm running several transformations chained with TraxFilter.
That runs in a servlet. I need need to set Parameters and URIResolver
depending on the HttpRequest.

But the transformer is private in the two TrAXFilter implementations
(org.apache.xalan.transformer.TrAXFilter &
org.apache.xalan.xsltc.trax.TrAXFilter).

what about add a public Transformer getTransformer() to TrAXFilter?

Or add an interface that the xalan & xsltc variations implements? It's a
better way for me because it's much flexible (i.e. switching from xalan to
xsltc via JAXP).

Any comments?

I read today a mail in xalan user list from Walt Fitzharris who have the
same requirement.

Regards,
Bernard




Reply via email to