Parser for card xml files