code: private String loadStyle(String styleName) throws IOException {
  		URL url;
  		if (styleName.startsWith("http://") || styleName.startsWith("https://")) {
  			try {
  				// try to load matching style from classpath
  				return loadStyle(styleName.substring(styleName.lastIndexOf('/') + 1));
  			} catch (FileNotFoundException e) {
  				// there is no matching style in classpath
  				url = new URL(styleName);
  			}
  		} else {
  			// normalize file name
  			if (!styleName.endsWith(".csl")) {
  				styleName = styleName + ".csl";
  			}
  			if (!styleName.startsWith("/")) {
  				styleName = "/" + styleName;
  			}
  
  			// try to find style in classpath
  			url = getClass().getResource(styleName);
  			if (url == null) {
  				throw new FileNotFoundException("Could not find style in "
  						+ "classpath: " + styleName);
  			}
  		}
  
  		// load style
  		String result = CSLUtils.readURLToString(url, "UTF-8");
  
  		// handle dependent styles
  		if (isDependent(result)) {
  			String independentParentLink;
  			try {
  				independentParentLink = getIndependentParentLink(result);
  			} catch (ParserConfigurationException | IOException | SAXException e) {
  				throw new IOException("Could not load independent parent style", e);
  			}
  			if (independentParentLink == null) {
  				throw new IOException("Dependent style does not have an "
  						+ "independent parent");
  			}
  			return loadStyle(independentParentLink);
  		}
  		
  		return result;
  	}
docs: Loads a CSL style from the classpath. For example, if the given name
  is <code>ieee</code> this method will load the file <code>/ieee.csl</code>
  @param styleName the style's name
  @return the serialized XML representation of the style
  @throws IOException if the style could not be loaded