Create Multi level root XML elements

How can a multi level root element be created?
For example
<ExportObjects> <objects> <object> Record </object> <object> Record </object> <object> Record </object> </objects> </ExportObjects>