[#879] - XML datasource input + add fields in Library/Fields

Category:
Feature request
Priority:
High
Status:
Assigned
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Is there a possibility to get a list of the fields within your input XML in the "Library/Fields"?

Now i have to "add" them manually in the "Library/Fields".

Example:

I have the following XML

<?xml version="1.0" encoding="UTF-8"?>
<palette>
<color>
<name>Red</name>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<name>Green</name>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
<color>
<name>Blue</name>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</palette>

I define my XML datasource, open the report query, choose XPath as query language and type /palette/color. Now i would expect the "Read fields" button to be available (it isn't) so i could press it and below the "name", "red", "green" and "blue" fields would appear.

erwin8's picture
1
Joined: Mar 26 2007 - 2:49am
Last seen: 15 years 12 months ago
Feedback