drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java
public static Element getNextSibling(Element element) {
        Assert.isNotNull(element);
        Node sibling = element;
        do {
            sibling = sibling.getNextSibling();
        } while (sibling != null && !isElement(sibling));
        return (Element) sibling;
    }
public static Element getNextSibling(Element element) {
        Assert.isNotNull(element);
        Node sibling = element;
        do {
            sibling = sibling.getNextSibling();
        } while (sibling != null && !isElement(sibling));
        return (Element) sibling;
    }
public static Element getNextSibling ( Element element ) { Assert . isNotNull ( element ) ; Node sibling = element ; do { sibling = sibling . getNextSibling ( ) ; } while ( sibling != null && ! isElement ( sibling ) ) ; return ( Element ) sibling ; }
Returns the next sibling element of the given element, or
<code>null</code> if no such sibling exists. Only the sibling's
next children are searched. The element must not be <code>null</code>.

@param element     the element whose sibling element is being
searched for
@return            the sibling element, or <code>null</code>
Returns the next sibling element of the given element or <code > null< / code > if no such sibling exists . Only the sibling s next children are searched . The element must not be <code > null< / code > .