We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This XML, which has 2 children called "many" will cause a problem :
<?xml version="1.0" encoding="utf-8"?> <mydocument> <and> <many>foo</many> <many>bar</many> </and> <and> <many>blah</many> </and> <plus>element as well</plus> </mydocument>
Here is the result after XML2Dict :
XML2Dict
{'mydocument': {'and': [{'many': [{}, {}]}, {'many': 'blah'}], 'plus': 'element as well'}}
Problem :
print d['mydocument']['and'][0]['many'][0]
should be 'foo', and we get {} instead.
'foo'
{}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This XML, which has 2 children called "many" will cause a problem :
Here is the result after
XML2Dict
:Problem :
should be
'foo'
, and we get{}
instead.The text was updated successfully, but these errors were encountered: