def getTypeDefinition(self, attribute=None):
if attribute:<EOL><INDENT>return XMLSchemaComponent.getTypeDefinition(self, attribute)<EOL><DEDENT>gt = XMLSchemaComponent.getTypeDefinition(self, '<STR_LIT:type>')<EOL>if gt:<EOL><INDENT>return gt<EOL><DEDENT>return self.content<EOL>
If attribute is None, "type" is assumed, return the corresponding
        representation of the global type definition (TypeDefinition),
        or the local definition if don't find "type".  To maintain backwards
        compat, if attribute is provided call base class method.