'Merge the contained schemas into one.
@return: The merged schema.
@rtype: L{Schema}'

def merge(self):

    if len(self):
        schema = self.children[0]
        for s in self.children[1:]:
            schema.merge(s)
        return schema
    else:
        return None
