code: public boolean nextInnerElement(ElementContext parent, String childName) throws XMLException, IOException {
  		while (nextInnerElement(parent)) {
  			if (event.text.equals(childName))
  				return true;
  		}
  		return false;
  	}
docs: Go to the next inner element having the given name. Return true if one is found, false if the closing tag of the parent is found.