News for hackers. Stuff that matters.
Re:Apple, in Sign of Health Ambitions, Adds Medical Records ... by mercutio2 on Thursday January 25, 2018 @10:22AM (#16231339)
That link has some bizarre misconceptions about namespaces (just define the namespace URLs you’re interested in as constants, don’t depend on the particular short name/URL map you expect, as that guy does).

It also looks like it predates cElementTree, which has an identical API but is vastly faster.

But anyway, yes, iterparse will be much more reliable/flexible than a regular expression search of non-canonical XML data, and will likely be faster, too.

There are no comments on this comment yet.