Weights are exported to xml and imported from xml