@Override
    public void init (AbstractQueue<QueueElement> queue, Properties props) 
            throws MalformedURLException {
        this.queue = queue;
        this.props = props;
        
        String strUrl = props.getProperty("destinationURL");
        if (strUrl == null) {
            throw new RuntimeException("Required property destinationURL not found.");
        }
        url = new URL(strUrl);
        
        String strSpecialCharMap = props.getProperty("xslt.param.specialCharMap");
        if (!strSpecialCharMap.isEmpty()) {
            LoadSpecialCharMap(strSpecialCharMap);
        }
        else {
            logger.warning("Special Char Map file not specified in properties file.");
        }        
        
        
        outputProperties.setProperty(OutputKeys.INDENT, "yes");
        outputProperties.setProperty(OutputKeys.METHOD, "xml");
        outputProperties.setProperty(OutputKeys.STANDALONE, "no");
        outputProperties.setProperty("{http://xml.apache.org/xsl}indent-amount", "4");
        //outputProperties.setProperty(OutputKeys.DOCTYPE_PUBLIC, "-//IPTC//NewsML");
        //outputProperties.setProperty(OutputKeys.DOCTYPE_SYSTEM, "NewsML_1.2.dtd");
    }