- or download this
my $parser = XML::LibXML->new();
my $doc = $parser->parse_file("main_file.XML");
...
my @nodes_from_main= $doc0->findnodes('//path/to/element/text()');
my @nodes_from_second = $doc1->findnodes('//path/to/element/text()');
- or download this
for my $node_main (@nodes_from_main)
...
do nothing;
}
}
- or download this
<doc>
<id>
...
</id>
</doc>
<p>I need to print everything within elements </p>