in reply to Re^2: How to get paired values from the nested XML structure?
in thread How to get paired values from the nested XML structure?

If the file is huge you can process it in parts. In this case and with XML::Rules it would mean that the rule for <unit> would be a subroutine that inserts the data of the unit to database and then returns nothing. That way you do not keep the already processed data in memory.

Another good module for processing huge XML files is XML::Twig.

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re^3: How to get paired values from the nested XML structure?

Replies are listed 'Best First'.
Re^4: How to get paired values from the nested XML structure?
by vagabonding electron (Curate) on Nov 03, 2011 at 16:01 UTC
    Thank you Jenda, I will certainly try it too.
    The Module XML::Twig is also available for ActivePerl - great!(and btw. it is the real blessing to be able to install ppm modules manually, without administrator privileges and without proxy issue).
    Many thanks!
    VE