def METHOD_NAME(dom_tree, prop, name, value):
    '''
    Sets the property child element under prop parent node.
    :param dom_tree: The DOM document handle
    :param prop:    The propertySet parent handle
    :param name:    The property name
    :param value:   The property value
    :return: void
    '''
    dom_property = dom_tree.createElement('property')
    dom_property.setAttribute("name", name)
    dom_property.setAttribute("value", value)
    prop.appendChild(dom_property)
    newline = dom_tree.createTextNode('\n')
    prop.appendChild(newline)