drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java
public static Element getLastChild(Element parent, String name) {
        Assert.isNotNull(name);
        return getChild(parent, new String[] {name}, false);
    }
public static Element getLastChild(Element parent, String name) {
        Assert.isNotNull(name);
        return getChild(parent, new String[] {name}, false);
    }
Returns the last child of the given parent that is a WebDAV element
with the given name, or <code>null</code> if no such child exists.
<p>
The search starts at the parent's last child.
The parent must not be <code>null</code> and must be a DAV: namespace
element. The name of the child to search for must not be
<code>null</code>.

@param parent      the parent of the child to search.
@param name        the name of the child to search for.
@return            the specified child of the parent, or <code>null
</code> if no such child exists.