code: function(hints, xmlElement) {
  	for (var hint in hints) {
  		if (xmlElement.doc().find(hint).indexOf(xmlElement) !== -1) {
  			return hints[hint];
  		}
  	}
  }
docs: Find the best type hint for a given XML element.
  The paths for hints should be xpath expressions.
  @param {Object} hints The type hints in the form {"/path/to/item": "type"}
  @param {XMLElement} xmlElement The XML element to find a hint for
  @type {String}
  
  @private