in reply to Reading multi-level-tag XML file
First, you should add use strict; and use warnings; to the top of your page, these will provide a lot of valuable info on how to structure your program correctly.
Storing your strings of locations with the sellerId in a hash is a good idea, that should work for what you need to do next.