in reply to Parsing two XML at the same time and align them
Hello corfuitl,
> Any suggestions?
Yes! avoid XML::Simple
I'm used with XML::Twig and you can profit twig_handler to trap your id
You can use a hash to store results, as in: $res{ $filename."\t".$id } = [] so during the parsing of the two files you can push there first result from file1 and then results from file2.
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
|
---|
In Section
Seekers of Perl Wisdom