I seen some question related to this topic , in which it is describe that we can either generate xml at client side or on server side....
Can any one guide me how exactly we can store xml at client side ? what are the configuration that need to be done in this case in which files ?
Also I want to give xml path dynamically to my mrt file how is this possible ?
If someone has any working example please snap working code here if possible....
Thanks
Report using XML DataSource
Report using XML DataSource
Hello,
The XML data file format will be standard for ADO.NET, please see the 'DataFormat.xml' attached file. You can create it with any text editor, or programmatically on the server side using PHP script.
2. Configure an XML data provider as you need in the 'database_xml.php' file. For example:
Thank you.
The XML data file format will be standard for ADO.NET, please see the 'DataFormat.xml' attached file. You can create it with any text editor, or programmatically on the server side using PHP script.
1. Set the FlexAdapterXmlData option to False in the 'config.xml' fileAlso I want to give xml path dynamically to my mrt file how is this possible?
2. Configure an XML data provider as you need in the 'database_xml.php' file. For example:
Code: Select all
function sti_xml_get_data($data_path, $schema_path)
{
$data = file_get_contents($data_path); // You can set this path dynamically
return $data;
}
- Attachments
-
- 1071.DataFormat.xml
- (583 Bytes) Downloaded 555 times