Title: is "delete" really the best/only way to remove a node in e4x?

A further note:  Normally, we will use XMLListCollection to manipulate dataProviders, and that interface DOES have a removeItemAt(), so this is again not a big deal.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Wednesday, May 24, 2006 9:29 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] is "delete" really the best/only way to remove a node in e4x?

 

I am not really fussing very hard, it is just that we have:

 

XML.appendChild()

XML.insertChildAfter()

XML.insertChildBefore()

XML.prependChild()

 

but no XML.removeChild?

 

delete is a completely different style syntax.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Wednesday, May 24, 2006 9:02 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] is "delete" really the best/only way to remove a node in e4x?

 

I don't know whether it is the best or only way, but it seems consistent with the use of the 'delete' operator to remove a dynamic property of an Object.

 

- Gordon

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Wednesday, May 24, 2006 4:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] is "delete" really the best/only way to remove a node in e4x?

 

If this is the final API, I can deal with it, it is just inconsistent and undocumented, and a bit of a shock when the rest of the api is so clean and logical.

I admit I have not read the e4x specification.

Tracy






--
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