public void load() throws TemplateException {
		// set label
        try {
        	label = "t" + Integer.toString(Integer.valueOf(id));
        }
        catch (Exception e) {
        	label = "t" + id;
        }
		
        String baseURL = "http://www.radreport.org/xml/xml.php?id=" + id;
        URL url;
        try {
        	// download template
            url = new URL(baseURL);
            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
            DocumentBuilder db = dbf.newDocumentBuilder();
            xml = db.parse(url.openStream());
            // parse template
            TemplateParser.parse(this);
            // convert template
            TemplateBuilder.build(this);
        }
        catch (MalformedURLException e) {
            throw new TemplateException("MalformedURLException", e);
        }
        catch (ParserConfigurationException e) {
            throw new TemplateException("ParserConfigurationException", e);
        }
        catch (SAXException e) {
            throw new TemplateException("SAXException", e);
        }
        catch (IOException e) {
            throw new TemplateException("IOException", e);
        }
    }