Add xml feature to an object

This should be simple. What is the quickest way to add XML to a
plain object so I can call object.to_xml()? I did some digging but did
not find anything quick. I think that’s built into the ActiveRecord
but what about a plain object?

Thanks!

you mean something like this?

http://clabs.org/clxmlserial.htm

Yup. Thanks!

On Mar 20, 11:39 am, “Chris H.” [email protected]