Click here to get back home

compare MSXML objects (nodes)

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
compare MSXML objects (nodes) vsimionescu 02-28-2007
Posted by vsimionescu on February 28, 2007, 2:49 am
Please log in for more thread options


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


Similar ThreadsPosted
XML::LibXML and getting data from elements/nodes October 26, 2004, 7:50 pm
How to get an OLE array of objects? August 17, 2006, 6:33 pm
calling methods on deserialized objects August 25, 2006, 4:32 pm
Bit::Vector objects serialized with Storable not working September 13, 2004, 3:15 am
SOAP::Lite creating remote objects March 29, 2006, 9:51 am
xs module, threads and clone of returned objects January 12, 2008, 6:27 am
ANNOUNCE: List-Compare-0.31 August 15, 2004, 10:26 am
ANNOUNCE: List::Compare v0.31 August 22, 2004, 2:06 pm
how to use ImageMagick to compare 2 images? September 3, 2004, 11:05 pm
Compare huge XML Files February 23, 2005, 2:01 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap