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

def setValue(self, key, value):
        """
        Saves the inputed key to the inputed value.
        
        :param      key | <str>
                    value | <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:
            xval = ElementTree.SubElement(curr, parts[-1])
        
        self.storeValue(xval, value)