CDATA should be no problem, even for the schema.
It should be listed as String. Make sure your xml is valid.
The following simple xml:
<?xml version="1.0" ?>
<content>
<node>
<![CDATA[Some cdata text.]]>
</node>
<node>
<![CDATA[Some cdata text.]]>
</node>
<node>
<![CDATA[Some cdata text.]]>
</node>
<node>
<![CDATA[Some cdata text.]]>
</node>
</content>
Looks like this when loaded as schema:
<-> results : XML
<-> content : Object
<-> node : Array
<-> [n] : String
regards,
Muzak
----- Original Message -----
From: "Ron Wagner" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, November 09, 2005 2:03 AM
Subject: [Flashcoders] XML and CData
> Hi all,
>
> Using Flash 8 Pro.
>
> I am a little confused on whether or not Flash can import data in a CDATA
> through XML. I am just getting started with XML in
> Flash, so not sure if it's something I am doing or not, but I can get all my
> data in my XML except what is in a CDATA. When
> loading the schema in the Component Editor for an XMLConnector, the elements
> with CDATA data have type <empty>. The other
> elements have their proper types.
>
> I've Googled my butt off today and found some people say that CDATA is
> supported, some say it is not supported, some say it is
> only supported on the way in and not the way out. What I'm trying to do is
> load data into an XMLConnector, then bind to a user
> interface component such as a DataGrid, eventually with a DataSet component
> in between.
>
> Can CData be used through an XMLConnector? Do I have to do things manually
> via a new XML(), etc., or will even that not work?
>
> Thanks,
> Ron Wagner
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders