Element compElem = parent.addElement("DesignerComponent");
writeHeader(comp, compElem);
Attribute cdeModelIgnoreAttr = comp.tryGetAttribute("cdeModelIgnore");
Attribute cdeModelPrefixAttr = comp.tryGetAttribute("cdeModelPrefix");
int ignoreCount = 0;
if(cdeModelIgnoreAttr != null) { ignoreCount++; }
if(cdeModelPrefixAttr != null) { ignoreCount++; }
if(comp.getAttributeCount() > ignoreCount)