code: static String getStyle(Element element, String styleName) {
  		String value = element.getAttribute(styleName);
  		
  		if ((value != null) && (value.length() > 0)) {
  			return value;
  		}
  		
  		String style = element.getAttribute("style");
  		return extractStyle(style, styleName);
  	}
docs: Get the style attribute setting for a given style information element (i.e. fill, stroke)
  
  @param element The element to be processed
  @param styleName The name of the attribute to retrieve
  @return The style value