Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Pentaho 8 Reporting for Java Developers

You're reading from   Pentaho 8 Reporting for Java Developers Create pixel-perfect analytical reports using reporting tools

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781788298995
Length 470 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Francesco Corti Francesco Corti
Author Profile Icon Francesco Corti
Francesco Corti
Jasmine Kaur Jasmine Kaur
Author Profile Icon Jasmine Kaur
Jasmine Kaur
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Introduction to Pentaho Reporting FREE CHAPTER 2. Getting Started with Report Designer 3. Getting Started with Reporting SDK 4. Creating a Report with Report Designer 5. Design and Layout in Report Designer 6. Configuring JDBC and Other Data Sources 7. Including Graphics and Charts in Reports 8. Parameterization, Functions, Variables, and Formulas 9. Internationalization and Localization 10. Subreports and Cross Tabs 11. The PRPT Format and the Java API to Build It 12. Developing Using Data Sources 13. Internationalization, Subreports, and Cross Tabs Using Java 14. Building Interactive Reports 15. Using Reports in Pentaho Business Analytics Platform 16. Using Reports in Pentaho Data Integration 17. Pentaho Reporting Nightly Build and Support

The XML data source


The XML data source is quite easy to understand and can be useful for exported data from external systems, if you don't want to use a database but want to use the data in a report. Once this data source type is selected, a modal window is shown, as follows:

Starting from the top, the first parameter is about pointing to an XML file. In this example, in particular, we are going to use the steelwheels.mondrian.xml file stored in the report-designer/samples folder.

Note

If you feel that the steelwheels.mondrian.xml file has not got a nice data structure and it's probably difficult to inquire, you are right! The steelwheels.mondrian.xml file contains the declaration of a Mondrian schema and does not contain data similar to a database export. Unfortunately, this is what we have available bundled in the Pentaho Reporting distribution and it's enough for our purpose to demonstrate an example of use of the XML data source. 

Below the selection of the XML file, you can see the list...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image