def.addChild(baseType.apply(this));
if(ct.getDerivationMethod()==XSType.EXTENSION) {
XSContentType explicitContent = ct.getExplicitContent();
if(explicitContent!=null)
def.addChild(explicitContent.apply(this));
attHolder(ct, def);
}
} else {
// just start from fresh
def.addChild(ct.getContentType().apply(this));