compare MSXML objects (nodes)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


Is there any way to compare 2 nodes of the same DOM tree with Perl and
Win32::OLE so I can see that they are in fact the same node ? I use
MSXML 4. That's what I do:


my $root = $dom->DocumentElement ();
my $r = $root->FirstChild()->ParentNode ();
# $r refers obviously to the same node as $root

if ($r eq $root)

I'd expect the test to be true but it isn't. I've searched the Web but
couldn't find anything.

V. Simionescu

Site Timeline