parent.removeContent(me);
//--- existing geonet child element not present so create it and insert it
//--- where the last element was deleted
if (result == null) {
result = editLib.createElement(schema,el,parent);
parent.addContent(me,result);
}
result.setAttribute(Edit.ChildElem.Attr.PARENT,parentRef);
result.addContent(info);