Re: [xsl] Xalan + Java Extension Class: How to return a new nodeset with new nodes?

Subject: Re: [xsl] Xalan + Java Extension Class: How to return a new nodeset with new nodes?
From: Atosa Khoddamhazrati <atosak@xxxxxxxxxx>
Date: Wed, 23 May 2007 14:17:44 -0400
Hi Kai,

The following classes can be used to represent a node set

org.w3c.dom.traversal.NodeIterator
org.apache.xml.dtm.DTM
org.apache.xml.dtm.DTMAxisIterator
org.apache.xml.dtm.DTMIterator
org.w3c.dom.Node
and org.w3c.dom.DocumentFragment can be used to represent a result-tree
fragment.
I would think that the NodeIterator and Node interfaces could be used for
both to return nodes from the input document and to return newly created
nodes.
You can  take a look at this URL <
http://xml.apache.org/xalan-j/extensions.html> for some examples and more
information.

Regards,

Atosa Khoddamhazrati



                                                                           
             Kai Hackemesser                                               
             <kaha@xxxxxx>                                                 
                                                                        To 
             21/05/2007 05:40          xsl-list@xxxxxxxxxxxxxxxxxxxxxx     
             AM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         [xsl] Xalan + Java Extension Class: 
             xsl-list@xxxxxxxx         How to return a new nodeset with    
              lberrytech.com           new nodes?                          
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi there,

Has anybody a hint where to find an example how to return a nodeset with
new created nodes in a java extension class for Xalan? In special the
part of node creation. (JDK 1.4.2)

thanks!
Kai

Current Thread