drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/Update.java
public void setLabelName(String label) throws MalformedElementException {
        Element child = getFirstChild(root, childNames);
        // If there is a version child already there remove it.
        if (isDAVElement(child, "version")) //$NON-NLS-1$
            root.removeChild(child);
        // Add/update the label-name element.
        setChild(child, "label-name", label, new String[] {"label-name"}, true); //$NON-NLS-1$ //$NON-NLS-2$
    }
public void setLabelName(String label) throws MalformedElementException {
        Element child = getFirstChild(root, childNames);
        // If there is a version child already there remove it.
        if (isDAVElement(child, "version")) //$NON-NLS-1$
            root.removeChild(child);
        // Add/update the label-name element.
        setChild(child, "label-name", label, new String[] {"label-name"}, true); //$NON-NLS-1$ //$NON-NLS-2$
    }
Sets the DAV:label child element.

@param label the string label to the version.
@throws MalformedElementException if there is reason to believe that
this editor's underlying element is not well formed