Generate XML output from a variable

How can I generate the data in XML format.

<report_data><xsl:copy-of select="$v.OWG_Custom"/></report_data>