public Element getLastChildElement(final String elementName) {
		if (childNodes == null) {
			return null;
		}
		int from = childNodes.size() - 1;
		for (int i = from; i >= 0; i--) {
			Node child = childNodes.get(i);
			if (child.getNodeType() == NodeType.ELEMENT && elementName.equals(child.getNodeName())) {
				child.initSiblingNames();
				return (Element) child;
			}
		}
		return null;
	}
public Element getLastChildElement(final String elementName) {
		if (childNodes == null) {
			return null;
		}
		int from = childNodes.size() - 1;
		for (int i = from; i >= 0; i--) {
			Node child = childNodes.get(i);
			if (child.getNodeType() == NodeType.ELEMENT && elementName.equals(child.getNodeName())) {
				child.initSiblingNames();
				return (Element) child;
			}
		}
		return null;
	}
public Element getLastChildElement ( final String elementName ) { if ( childNodes == null ) { return null ; } int from = childNodes . size ( ) - 1 ; for ( int i = from ; i >= 0 ; i -- ) { Node child = childNodes . get ( i ) ; if ( child . getNodeType ( ) == NodeType . ELEMENT && elementName . equals ( child . getNodeName ( ) ) ) { child . initSiblingNames ( ) ; return ( Element ) child ; } } return null ; }
Returns last child <b>element</b> with given name or
<code>null</code> if no such child node exist.
Returns last child <b > element< / b > with given name or <code > null< / code > if no such child node exist .