ItemFactory: load items from a XML file