I have experienced the same problem when usinf XML in flash as well. I can't seem to pinpoint why it happens. When I use Dreamweaver to make the XML, this weird thing happens. When the XML is generated from a server, this isn't the case. I guess it has something to do with line-breaks that the flash XML parser recognizes as seperate objects..
J. -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] arjen Verzonden: maandag 9 mei 2005 15:14 Aan: Lingo programming discussion list Onderwerp: <lingo-l> problem using XMLObject (and sending mail to this list) hi, i see quite some people use flash-xml objects nowadays. i'm using the xml object to talk/listen to a server, but noticed something strange; when trying to parse and interpret recieved xml using the flash XMLObject, the objects and childobjects are irregular populated. in this example the root contains: 1 child, - which contains 1 child - which contains - child 1 - child 2 - child 3 ... - child 10 but the strange thing is that the root actually contains 2 children (instead of 1), of which the second [1] one is empty, then the first child [0] actually contains 3 children (instead of 1), of which only the second one [1] contains children; 21 in number (instead of 10) ... this beaviour seems consistant, and quite easy to work-around, but i was wondering if i'm doing something wrong? or is this a bug? what's happening? or is it something in the formatting of the xml? in the attachment you find the xml that is recieved from the server thanks arri PS. this is the 4th attempt to send this message to the list, previous attempts got bounced... my writing apparently looks too much like spam. (?) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
