Return to Snippet

Revision: 30269
at August 11, 2010 05:00 by justincrounds


Initial Code
var xml1:XML = 
        <foo>
            <bar>foobar</bar>
        </foo>;
var xml2:XML = 
        <foo>
            <bar>foobar</bar>
            <bar>barfoo</bar>
        </foo>;
trace(xml1.children());
/* returns
foobar
*/
trace(xml2.children());
/* returns
<bar>foobar</bar>
<bar>barfoo</bar>
*/

Initial URL

                                

Initial Description

                                

Initial Title
XML.children() bug?

Initial Tags
actionscript

Initial Language
ActionScript 3