Sorry list!  I didn't properly title that post!  :-(

- MM



Hi list...

I want loop through to delete certain nodes, but can't figure out how to do it. 
 I've tried a conventional loop, for...in and for...each...in, and I must be 
missing something.

<pack>
        <dog id="1"/>
        <dog/>
        <dog id="2"/>
        <dog/>
        <dog id="3"/>
</pack>

I'd like to delete all instances of dog that don't have an @id, or @id==2.

Any thoughts?
Thanks,
- Michael M.

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to