Just imagine all the right stuff is in between - the question is about the setting the xml @response = to the varchar @xml_output.
CREATE PROCEDURE [dbo].[sp_test]
(....
@response XML OUTPUT )
AS
...
@xml_output VARCHAR(max)
...
SET @response = @xml_output --<<<<here
Thanks!
G