compare MSXML objects (nodes)

Hello

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.

Regards
V. Simionescu
vsimionescu [ Mi, 28 Februar 2007 08:49 ] [ ID #1643312 ]
Perl » comp.lang.perl.modules » compare MSXML objects (nodes)

Vorheriges Thema: Installation Modul DBD::MySQL failed
Nächstes Thema: Module to convert emails