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
When I parse this:
<Mode System="B">Cable</Mode>
with:
xml.dictionary('Mode', [ xml.string('.', attribute='System') ])
the result when serialized and printed is:
<Mode System="B"/>
What happened to the value (CABLE)?
CABLE
Full code:
proc = xml.dictionary('Mode', [ xml.string('.', attribute='System') ]) bar = xml.parse_from_string(proc, '<?xml version="1.0" encoding="UTF-8"?><Mode System="B">Cable</Mode>') print(xml.serialize_to_string(proc, bar, indent=' '))
The text was updated successfully, but these errors were encountered:
Oh, I see. This processor does the trick:
proc = xml.dictionary('Mode', [ xml.string('.', attribute='System'), xml.string('.') ])
Sorry, something went wrong.
Never mind
No branches or pull requests
When I parse this:
with:
the result when serialized and printed is:
What happened to the value (
CABLE
)?Full code:
The text was updated successfully, but these errors were encountered: