The Bold Reports allows you to connect to the XML data source that retrieves data from XML file, a string in XML format or a external URL.
To configure the XML data source, follow the below steps:
DATA
configuration panel, click on the NEW DATA
button.
XML
data source type.
You can connect XML data using the following three options,
Choose Inline
in Type
drop-down.
Specify a string that contains XML data in the Inline
text area.
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element>
<FirstName>First Name 1</FirstName>
<ID>1</ID>
<IDBook>1</IDBook>
<LastName>Last Name 1</LastName>
</element>
<element>
<FirstName>First Name 2</FirstName>
<ID>2</ID>
<IDBook>1</IDBook>
<LastName>Last Name 2</LastName>
</element>
</root>
Click on the Connect
to proceed with query design pane. The query design pane will show the specified XML data’s structure in left pane.
Drag and drop the table from the left pane in the query design view page and execute.
Click Finish
to save the data source with a relevant name to proceed with designing report.
File
option in Type
field. Now, the upload option will start displaying like below.
Connect
to proceed with query design pane.
Finish
to save the data source with a relevant name to proceed with designing report.
External
option in Type
field.
External
text area.
Connect
to proceed with query design pane. The query design pane will show the specified XML data’s structure in left pane.Finish
to save the data source with a relevant name to proceed with designing report.
Note: In schema tree, the nested fields in the XML data will be shown as flat structure.