db_xml.py: put(): Added on_error handler. Reordered arguments according to how often they are likely to be used.
db_xml.py: put(): Added on_error handler. Reordered arguments according to how often they are likely to be used.