// This method is called by all save methods - save(Document,...), doSave(Writer/OutputStream, ...) - in superclasses.
@Override
protected XMLSave createXMLSave() {
prepareSave();
return new XMLSaveImpl(createXMLHelper()) {
@Override
protected boolean shouldSaveFeature(EObject o, EStructuralFeature f) {
if (Bpmn2Package.eINSTANCE.getDocumentation_Text().equals(f))
return false;
if (Bpmn2Package.eINSTANCE.getFormalExpression_Body().equals(f))