Skip to main content
Question

How to read simple xml

  • February 26, 2020
  • 1 reply
  • 5 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

 

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...


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings