It should, although I don't think that code path has been tested in a
while.  Did you try it?

Why don't you just pass in the XSLT filename and let Xalan build the
stylesheet?  Are you modifying the stylesheet after parsing but before
transforming?

Dave



                                                                                
                                   
                    "Lyle Coder"                                                
                                   
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>       
                                
                    ail.com>             cc:     (bcc: David N 
Bertoni/CAM/Lotus)                                  
                                         Subject:     Xalan XSLT question       
                                   
                    01/03/2001                                                  
                                   
                    08:08 AM                                                    
                                   
                    Please                                                      
                                   
                    respond to                                                  
                                   
                    xerces-dev                                                  
                                   
                                                                                
                                   
                                                                                
                                   



Hello,
I parsed in two XML files, one an XHTML file and the other a XSLT file
using James Clarks SP SGML parser.  In my algorithm, I construct a DOM
using the Xalan DOM API.

So I have two Xalan DOMs, one for the XHTML file and one for the XSLT file.

I want to apply the XSLT transforms (which arein the DOM now) to the XHTML
DOM.

Can I just create TWO XSLTInputSource classed from these two XalanNode
classes (i.e, my Xalan DOMs) and call the XSLTEngineImpl::process() method?
Will it apply?

Thanks
Lyle



Reply via email to