code: public static Location getLocation(Element elem, String description) {
  		Attr srcAttr = elem.getAttributeNodeNS(URI, SRC_ATTR);
  		if (srcAttr == null) {
  			return LocationImpl.UNKNOWN;
  		}
  		return new LocationImpl(description == null ? elem.getNodeName() : description, srcAttr.getValue(),
  				getLine(elem), getColumn(elem));
  	}
docs: Returns the {@link Location} of an element (DOM flavor).
  
  @param elem
  the element that holds the location information
  @param description
  a description for the location (if <code>null</code>, the
  element's name is used)
  @return a {@link Location} object