MarshallingView uses the Marshaller for XML (defined in the org.springframework.oxm package) to render the response content as XML. You can explicitly set the object to be marshalled using the modelKey property of the MarshallingView instance bean. Additionally, the view iterates through all of the model's properties and marshals the first type that is supported by Marshaller. For more information about the functionality of the org.springframework.oxm package, see "Marshalling XML with using O/X mappers".