Hi Emmanuel,

It's still supported, just not through that constructor.  You can create a
FormatterToSourceTree or FormatterToXercesDOM instance and pass that into
the XSLTResultTarget constructor.  There is even a new sample called
TransformToXercesDOM which demonstrates this.

The XalanDocument overload was removed because it was impossible to
determine the implementation type from the abstract base class.

Dave



                                                                                
                                         
                      "Abram-Profeta,                                           
                                         
                      Emmanuel"                To:      
<[email protected]>                                   
                      <[EMAIL PROTECTED]         cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                             
                      .com>                    Subject: XSLTResultTarget in 1.5 
vs. 1.4                                  
                                                                                
                                         
                      04/03/2003 04:01                                          
                                         
                      PM                                                        
                                         
                                                                                
                                         



Hi,

I noticed that the constructor from a XalanDocument
XSLTResultTarget(XalanDocument* document);
is available in 1.4 but not in 1.5 (latest distro,
http://xml.apache.org/xalan-c/dist/rc1).

Are there any plans to support creation of XSLTResultTarget  from
XalanDocument (and XalanDocumentFragment, XalanElement) again? I find this
API quite useful when storing the output of a transform
(XalanTransformer::transform) as DOM instead of into an output stream.

Emmanuel

Reply via email to