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

Attribute support #16

Open
danipralea opened this issue Aug 7, 2019 · 0 comments
Open

Attribute support #16

danipralea opened this issue Aug 7, 2019 · 0 comments

Comments

@danipralea
Copy link

danipralea commented Aug 7, 2019

Is there going to be an attributes support?

I currently cannot parse this:

<Body>
    <Subject>Reference rates</Subject>
    <OrigCurrency>RON</OrigCurrency>
    <Cube date="2019-08-07">
        <Rate currency="AED">1.1518</Rate>
        <Rate currency="AUD">2.8489</Rate>
        <Rate currency="BGN">2.4188</Rate>
        <Rate currency="BRL">1.0683</Rate>
    </Cube>
</Body>

I get [DecodingError.keyNotFound: Value required for key 'Body.Cube.Index 0.currency'.]

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