That depends on what you mean.  You can build the smallest source tree that
you need, depending on what your stylesheet is trying to do.  Hoever, there
must at least be a root node (the document), and it must have at least one
element child.

So, it's certainly possible to build a tree that represents a fragment of
an XML document, as long as you write your stylesheet with that in mind.

Dave



                                                                                
                                                          
                      Dvir Ofek                                                 
                                                          
                      <[EMAIL PROTECTED]         To:      "[EMAIL PROTECTED] 
Apache. Org (E-mail)" <[email protected]>          
                      s.com>                   cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                              
                                               Subject: Transforming a node     
                                                          
                      12/03/2002 12:37                                          
                                                          
                      AM                                                        
                                                          
                                                                                
                                                          



Hi
Is it possible to transform only a single node rather than a full document?
If I need to transform only a single node must I build a new document
containing that node?

Cheers
Dvir Ofek



Reply via email to