php-etl icon indicating copy to clipboard operation
php-etl copied to clipboard

Xml multiple entries only get last value

Open bobnnnn opened this issue 4 years ago • 0 comments

When loading an xml document with the extract for a multiple value name node:

<item>
      <do>
            <code>A</code>
            <code>B</code>
            <code>C</code>
            <code>D</code>
      </do>
</item>
<item>
      <do>
            <code>A</code>
            <code>B</code>
            <code>C</code>
            <code>D</code>
      </do>
</item>

I iterate on and get all key value but for i get only one key "code" with the last value, do you think it possible to get an array value "do" => ["code" => [0 => "A", 1 => "B"...] to get all values ?

bobnnnn avatar Sep 15 '21 15:09 bobnnnn