Returns the inputed key to the inputed value.
        
        :param      key | <str>
        
        :return     <variant>

def value(self, key, default=None):
        """
        Returns the inputed key to the inputed value.
        
        :param      key | <str>
        
        :return     <variant>
        """
        parts = nativestring(key).split('/')
        curr = self._xstack[-1]
        for part in parts[:-1]:
            next = curr.find(part)
            if next is None:
                next = ElementTree.SubElement(curr, part)
            curr = next
        
        xval = curr.find(parts[-1])
        if xval is None:
            return default
        
        return self.restoreValue(xval)