code: @Pure
  	public static <T extends Node> T getChild(Node parent, Class<T> type) {
  		assert parent != null : AssertMessages.notNullParameter(0);
  		assert type != null : AssertMessages.notNullParameter(1);
  		final NodeList children = parent.getChildNodes();
  		final int len = children.getLength();
  		for (int i = 0; i < len; ++i) {
  			final Node child = children.item(i);
  			if (type.isInstance(child)) {
  				return type.cast(child);
  			}
  		}
  		return null;
  	}
docs: Replies the first child node that has the specified type.
  
  @param <T> is the type of the desired child
  @param parent is the element from which the child must be extracted.
  @param type is the type of the desired child
  @return the child node or <code>null</code> if none.