code: private FormInput formInputMatchingNode(Node element) {
  		NamedNodeMap attributes = element.getAttributes();
  		Identification id;
  
  		if (attributes.getNamedItem("id") != null
  				&& formFillMode != FormFillMode.XPATH_TRAINING) {
  			id = new Identification(Identification.How.id,
  					attributes.getNamedItem("id").getNodeValue());
  			FormInput input = this.formInputs.get(id);
  			if (input != null) {
  				return input;
  			}
  		}
  
  		if (attributes.getNamedItem("name") != null
  				&& formFillMode != FormFillMode.XPATH_TRAINING) {
  			id = new Identification(Identification.How.name,
  					attributes.getNamedItem("name").getNodeValue());
  			FormInput input = this.formInputs.get(id);
  			if (input != null) {
  				return input;
  			}
  		}
  
  		String xpathExpr = XPathHelper.getXPathExpression(element);
  		if (xpathExpr != null && !xpathExpr.equals("")) {
  			id = new Identification(Identification.How.xpath, xpathExpr);
  			FormInput input = this.formInputs.get(id);
  			if (input != null) {
  				return input;
  			}
  		}
  
  		return null;
  	}
docs: return the list of FormInputs that match this element
  
  @param element
  @return