} else if (pChild instanceof XsTAttributeGroup) {
XsTAttributeGroup attributeGroup = (XsTAttributeGroup) pChild;
mySchema.add(factory.newXSAttributeGroup(mySchema, attributeGroup));
} else if (pChild instanceof XsTTopLevelElement) {
XsTTopLevelElement element = (XsTTopLevelElement) pChild;
mySchema.add(factory.newXSElement(mySchema, element));
} else if (pChild instanceof XsTAttribute) {
XsTAttribute attribute = (XsTAttribute) pChild;
mySchema.add(factory.newXSAttribute(mySchema, attribute));
} else if (pChild instanceof XsENotation) {
XsENotation notation = (XsENotation) pChild;