def __getitem__(self, name):
        if name in MEDIA_TYPES:
            return Media(**{str(name): getattr(self, '_' + name)})
        raise KeyError('Unknown media type "%s"' % name)
Return the text value of an xml element node. Leading and trailing
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/forms/widgets.py/Media.__getitem__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/SOAPpy/wstools/Utility.py/DOM.getElementText