Code example for URIResolver

Methods: resolve

0
     * @return An InputSource with the loaded document 
     */ 
    public InputSource loadSource(String href, String context, XSLTC xsltc) {
	try { 
	    if (_uriResolver != null) {
		final Source source = _uriResolver.resolve(href, context);
		if (source != null) {
		    return Util.getInputSource(xsltc, source);
		} 
	    } 
	} 
	catch (TransformerException e) {
	    // Falls through 
	} 
	return null; 
    } 
 
    /** 
     * Reset the per-session attributes to their default values 
     */ 
    private void resetTransientAttributes() {