Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.16 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.16 KB

This app shows the work with JasperReports. How it works:

  • loads Exercise1.xml file
  • parses the xml with two methods (XPath and SimpleXML)
  • loads the template file "test.jrxml" and fill it with the parsed data
  • saves prepared report to "Report.pdf"

In "_test" you can find test jar-file to check the work. Just run "_test/run.bat" and get "report.pdf" for result.


Это приложение показывает работу с JasperReports. Как это работает:

  • загружает файл Exercise1.xml
  • анализирует xml двумя методами (XPath и SimpleXML)
  • загружает файл шаблона "test.jrxml" и заполняет его проанализированными данными
  • сохраняет подготовленный отчет в "Report.pdf" В "_test" вы можете найти тестовый jar-файл для проверки работы. Достаточно запустить "_test/run.bat" и будет получен файл "report.pdf" с результатом.