Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xml multiple entries only get last value #58

Open
bobnnnn opened this issue Sep 15, 2021 · 0 comments
Open

Xml multiple entries only get last value #58

bobnnnn opened this issue Sep 15, 2021 · 0 comments

Comments

@bobnnnn
Copy link

bobnnnn commented Sep 15, 2021

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant