Skip to main content
Question

How to read simple xml

  • February 26, 2020
  • 1 reply
  • 12 views

mario_bla
Participant
Forum|alt.badge.img+6

Hello,

I know (hope) that there is probably an easy solution for this. I'm trying to read the XML file using the Feature Paths configuration type but it seems I can't get it right...

 

I have simple xml file like this:

<A>
    <B>
        <ATT1>10</ATT1>
        <ATT2>20</ATT2>
    </B>
    <B>
        <ATT1>30</ATT1>
        <ATT2>40</ATT2>
    </B>
</A>

 

I want to read it like this:

ATT1

ATT2

 

10

 

20

 

30

 

40

 

 

Instead, I'm getting this:

ATT1

 

ATT2

 

10

 

<missing>

 

<missing>

 

20

 

30

 

<missing>

 

<missing>

 

40

 

Can somebody please tell me what setting I have to apply in XML reader.

 

Thanks!

Mario

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

mario_bla
Participant
Forum|alt.badge.img+6
  • Author
  • Participant
  • February 26, 2020

OK. I did it after 2 hours of trying just by clicking the "enable flattening" checkbox. The thing is that I did it previously but it didn't work. It seems it doesn't work if you edit the reader - after I deleted it and add it again with checked enabling flattening box, than it worked...