DOMNode::isSameNode() is a DOM level 3 interface which is designed to allow
implementation which use proxies to implement node identity.  This not
necessary with XalanNode instances -- you can just compare the addresses of
the nodes.

Dave



                                                                                
                                                     
                      "Gaur, Manish"                                            
                                                     
                      <[EMAIL PROTECTED]         To:      
[email protected]                                                 
                      ty.COM>                  cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                         
                                               Subject: Help on comparing Xalan 
Nodes                                                
                      07/24/2002 10:13                                          
                                                     
                      AM                                                        
                                                     
                                                                                
                                                     
                                                                                
                                                     



Hi,
    How can I compare two XalanNodes for (in)equality??

I wish to achieve the same result as DOMNode::isSameNode() does for Xerces
Nodes. Following is how xerces explains that operation,

"This method provides a way to determine whether two DOMNode references
returned by the implementation reference the same object. When two DOMNode
references are references to the same object, even if through a proxy, the
references may be used completely interchangeably, such that all attributes
have the same values and calling the same DOM method on either reference
always has exactly the same effect. "

How can I achieve the same results for Xalan Nodes? Please do let me know
if
I am not making myself clear.

Thanks and Regards,
/Manish



Reply via email to