Implement Interest.to_xml() method.