Re: [Flashcoders] find and delete XML nodes

2009-03-09 Thread Joel Stransky
delete xml.child; > > Bug or feature? Who knows.. > > regards, > Muzak > > - Original Message ----- From: "liutoday" > To: > Sent: Monday, March 09, 2009 5:28 AM > Subject: RE: [Flashcoders] find and delete XML nodes > > > >> >> &g

Re: [Flashcoders] find and delete XML nodes

2009-03-09 Thread Muzak
ot;b"). So the following works (and deletes all elements): var s:String = ''; var xml:XML = new XML(s); delete xml.child; Bug or feature? Who knows.. regards, Muzak - Original Message - From: "liutoday" To: Sent: Monday, March 09, 2009 5:28 AM Su

RE: [Flashcoders] find and delete XML nodes

2009-03-08 Thread liutoday
> Date: Sun, 8 Mar 2009 23:38:17 -0400 > From: j...@stranskydesign.com > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] find and delete XML nodes > > I have some xml nodes where I need to evaluate their attributes and delete > them if they meet certain cr

Re: [Flashcoders] find and delete XML nodes

2009-03-08 Thread Muzak
ore: -- elements: -- after: regards, Muzak - Original Message - From: "Joel Stransky" To: "Flash Coders List" Sent: Monday, March 09, 2009 4:38 AM Subject: [Flashcoders] find and delete XML nodes I have some xml nodes where I need

[Flashcoders] find and delete XML nodes

2009-03-08 Thread Joel Stransky
I have some xml nodes where I need to evaluate their attributes and delete them if they meet certain criteria. It's probably simple but its late and brain fatigue is setting in. Say I had this node How would I find and delete any who's id is "b" ? -- --Joel Stransky stranskydesig