xslt.setExtension(".graphml"); xslt.setIncludes(XmlReportOutputter.getReportFileName(new ModuleId(organisation, module), conf));
Mapper mapper = new Mapper(getProject()); xslt.addMapper(mapper);  for (int i = 0; i < confs.length; i++) { String reportFileName = XmlReportOutputter.getReportFileName(new ModuleId(organisation, module), confs[i]); xslt.setIncludes(reportFileName);  FileNameMapper reportMapper = new GlobPatternMapper(); reportMapper.setFrom(reportFileName); reportMapper.setTo(IvyPatternHelper.substitute(_outputpattern, organisation, module, "", "", "", "graphml", confs[i])); mapper.add(reportMapper); }
    private void gengraph(Ivy ivy, File cache, String organisation, String module, String conf) throws IOException {                // process the report with xslt to generate graphml        File out;        if (_todir != null) {            out = _todir;        } else {            out = new File(".");        }        XSLTProcess xslt = new XSLTProcess();        xslt.setTaskName(getTaskName());        xslt.setProject(getProject());        xslt.init();                xslt.setDestdir(out);        xslt.setBasedir(cache);        xslt.setExtension(".graphml");        xslt.setIncludes(XmlReportOutputter.getReportFileName(new ModuleId(organisation, module), conf));        xslt.setStyle(getGraphStylePath(cache));        xslt.execute();    }