Extend `xmlselect` so that elements may be selected not just by name, but by
their attributes too, in the manner of CSS, so that, for instance, an element
like `<div id="page" class="wide">` could be selected by matching `id` or
`class` as well as its name.