Rendering query results as XML.