Hi! Try to creating a docment of xmldatasource as follows: Code:Document document = JRXmlUtils.parse(new File(XML_Path)); Create HashMap lets say "Hmap". Code:[code] Hmap.put("XML_DATA_DOCUMENT",document); Code:[code] JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, Hmap,new JREmptyDataSource); Try this it might help you. Tell if t does. Post edited by: nitin403, at: 2007/09/24 06:31