[#3147] - XML data is only being showed once. Only first tag is read

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

I have an XML file with 3 inner nodes, I need to show them in my report, but only the first data is being showed. I have checked the query, the file, internet examples and nothing works.

PS: An Image is attached. but if cannot see it, please check the link.

http://postimg.org/image/usbl1mv6l/

<img src="http://postimg.org/image/usbl1mv6l/"></img>

AttachmentSize
Image icon error_idesigner_xml.png29.51 KB
Image icon error_idesigner_xml.png29.51 KB
v5.1.0
melssj5's picture
Joined: Sep 2 2013 - 9:57am
Last seen: 3 years 2 months ago

1 Comment:

#1
  • Assigned:nobody»

You need to edit the XML excluding the absolute path of the fields, so all the descriptions will show only the field name like is shown in the second line of your image. See attached image.
old: <fieldDescription><![CDATA[dividas/Divida/codigo]]></fieldDescription>
new: <fieldDescription><![CDATA[codigo]]></fieldDescription>

AttachmentSize
Image icon edit_query.jpg147.38 KB
Feedback
randomness