Activerecord supports eager loading with the following syntax: Author.find(:all, :include=>[{:posts=>:comments}, :categorizations].
to_xml has an :include option that supports a shallow form of eager loading to create the xml: author.to_xml(:include[:posts]).
Is there a way to generate the xml from all associated objects for a particular model instance?