public void setDocumentRelative( String filename )
protected void setDocumentRelative( String filename )
    public void setDocumentRelative( String filename )        throws Exception {        if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) {            URL base = new URL( getRenderingContext().getBaseURL(), filename );            XRLog.load( "Loading URL " + base );            Document dom = x.loadDocument( base );            //URL base = new File(filename).toURL();            setDocument( dom, base );            return;        }        setDocument( x.loadDocument( filename ), new File( filename ).toURL() );    }