in reply to {KOHA}Parse XML and assign to variables.

just a tip: XML::Simple is deprecated as stated in the module documentation. Try switching to XML::Twig or other appreciated module to do xml parsing.

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.