HtmlNode .equals

Topics: Developer Forum, User Forum
Jun 9, 2010 at 10:21 PM

Is there a way to compare two HtmlNodes to see if they are equal?

 

Thanks,

Urvish Parikh

Jun 9, 2010 at 10:40 PM

In what way are you expecting them to equal? Some people may see it differently. Like some may say if Name and ID are equal, or just Name, or Name and InnerText.

Right now it is just check on the object reference.

 

Jun 9, 2010 at 10:42 PM

In every way, attributes included. I am trying to compare two diffrent DOMs and keeping track of the differences in the DOMs.