<?xml version="1.0" encoding="UTF-8"?> <action-sequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <name>XY Charting.xaction</name> <title>%title</title> <version>1</version> <documentation> <author/> <description>%description</description> <icon>PentahoReporting.png</icon> <help>This action-sequence was generated by the Report Design Wizard. To edit this action-sequence use the Pentaho Design Studio.</help> <result-type>report</result-type> </documentation> <inputs> <output-type type="string"> <default-value>html</default-value> <sources> <request>type</request> </sources> </output-type> </inputs> <outputs> <report type="content"> <destinations> <response>content</response> </destinations> </report> </outputs> <resources> <!-- use this section to identify any files that the component needs to execute the report --> <report-definition> <solution-file> <location>xy-charting.xml</location> <mime-type>text/xml</mime-type> </solution-file> </report-definition> </resources> <actions> <action-definition> <component-name>SQLLookupRule</component-name> <action-type>rule</action-type> <action-inputs/> <action-outputs> <rule-result type="result-set"/> </action-outputs> <component-definition> <jndi>SampleData</jndi> <query><![CDATA[Select PRODUCTLINE, PRODUCTNAME, AVG(MSRP) as AVERAGE_MSRP, AVG(BUYPRICE) as AVERAGE_BUYPRICE FROM PRODUCTS group by PRODUCTLINE, PRODUCTNAME order by PRODUCTLINE, PRODUCTNAME]]></query> </component-definition> </action-definition> <action-definition> <component-name>JFreeReportComponent</component-name> <action-type>report</action-type> <action-inputs> <data type="result-set" mapping="rule-result"/> </action-inputs> <action-resources> <report-definition type="resource"/> </action-resources> <action-outputs> <report type="content"/> </action-outputs> <component-definition> <output-type><![CDATA[html]]></output-type> </component-definition> </action-definition> </actions> </action-sequence>