Extract values from XML based on attribute values

A small enhancement to not only retrieve values based on 'tag' path but
based on attribute values, as well.  Also, rolled back earlier change
that prevented re-casting attribute values to float64/bool data types
so MapValue() can be used with unmarshal'd JSON strings.