Use of <![CDATA[............]]> on rxml

How can I put something like this on a rxml, in one line of code and generating only one line on the xml ? <name><![CDATA[Steve]]></name>

did you try

xml.name do   xml.cdata!('Steve) end

Emanuele Tozzato wrote:

did you try

xml.name do   xml.cdata!('Steve) end

With this, I get three lines: <name>   <![CDATA[Steve]]> </name>

I want to get only one line.