How to use multiple xpath datasets on XML datasource using PHP Jasper?
问题 I have designed a report in Jasper Studio that use XML as datasource and two XPATH datasets. I am able to generate the report and the data is filled from the first dataset (/data/invoice), but the second dataset (/data/invoice_items/row) is not found and returns null. How can I add a second xpath to the php script for 'xml_xpath' => '/data/invoice_items/row' This is my XML data: <?xml version="1.0" encoding="utf-8"?> <data> <invoice> <ID_Invoice>54654</ID_Invoice> <Invoice_Code>FCS</Invoice