Problems with CDATA

Problems with CDATA

Hi everyone,

I Have.
var xml = "<data><![CDATA[Text]]></data>";
try 1.
alert($(xml).text()).
Result - empty.

try 1.
alert($(xml).html()).
Result -  <data><!--<![CDATA[Text]]>--></data>

How to get the text?