Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (…
Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`
Now dots are parsed. For example '87 Min.'
In a strict sense such TTML is invalid, but Yahoo uses it.
This function is used only in SohuIE, which is updated to use a new extraction logic.
Fixes #2865, closes #5087
Previously, the runtime could be atrocious for longer inputs.
This functionality is intended to eventually encompass the current format filtering.