no it's not a bug :p

lets just say you have an xml tag

var xml_tag:XML = <tag att1="v1" att2="v2">tag text</tag>;

an thats been assigned to a variable 'xml_tag'. when you come to output the contents of that variable... it will show "tag text" not "v1" or "v2" ( which are attributes ). To output the contents of those attributes ... you do [EMAIL PROTECTED] and that will output "v1"

the problem your having is there is nothing in between the tags so it's blank... infact... you closed the XML tag "<tag/>"... thats how xml is :p. I'm still learning XML

On 04/08/06, Rick Root <[EMAIL PROTECTED]> wrote:

When a tree has only one item, the dataProvider is empty when dumped to
a string.

Example:

https://www.it.dev.duke.edu/temp/flex/bin/Test.html

Drag one of the parent items over and click "Show List Items", and the
textarea is populated with all of the nodes in the data provider.

Now hit "Reset Lists".. then drag only one child item and then click
"Show List Items" again. No results. empty.

Drag another child item over... repeat. Both child items now appear in
the textarea.

Is this a bug, or something I'm doing wrong?

I've enabled "View Source" on this app so you can see for yourself.

rick


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to