When i use Hash.from_xml() to convert xml into a hash, it seems like
attributes (that don’t relate to the data type of the contents of the
element) are discarded - is there any way to keep them, does anyone
know?
Obviously one answer is to avoid xml that stores data in attributes but
that’s not always possible. Alternatively i could write my own from_xml
i guess, but a quick solution is preferred