You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this could indeed be produced through some xdict.flatten()
additionally we would need to have some notation for nested lists: choosing now for **path.element[index] over **path.element.index.
having the xmlasdict- wrapper approac this means this .flatten() becomes available at any level you like. this means one could first navigate down xdb = xdict.ChildB and only then call flatten() which should just return
{
"@namespace": "I-am-an-attribute"
}
we could consider an extra 'flatten(self_prefix='_') to produce
unwrap() (or copy()) of this example_xml:
gives:
while you would expect something like this:
or, when implementing 'flattening' as mentioned in vliz-be-opsci/pysubyt#4, something like this:
The text was updated successfully, but these errors were encountered: