foreach (DataObjectPtr s, objectStore()->getObjects<DataObject>()) { s->save(xml); }
foreach (DataObjectPtr s, dataObjects) { s->save(xml); }