(self, name, value)
return self
Creates or replaces a child :class:`PropertyNode` by name.
Creates or replaces a child :class:`PropertyNode` by name.
Creates or replaces a child : class : PropertyNode by name .
def set_property(self, name, value):
        """
        Creates or replaces a child :class:`PropertyNode` by name.
        """
        node = self.get(name)
        if node is None:
            node = PropertyNode(name, value)
            self.append(node)
        node.value = value
        return self
def set_property ( self , name , value ) : node = self . get ( name ) if node is None : node = PropertyNode ( name , value ) self . append ( node ) node . value = value return self