> Date: Sun, 8 Mar 2009 23:38:17 -0400
> From: [email protected]
> To: [email protected]
> 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 criteria. It's probably simple but its late and
> brain fatigue is setting in.
>
> Say I had this node
>
> <parent>
> <child id="a" />
> <child id="b" />
> <child id="a" />
> <child id="b" />
> </parent>
>
> How would I find and delete any <child> who's id is "b" ?
> --
> --Joel Stransky
> stranskydesign.com
> _______________________________________________
delete xml.child.(@id=="b");
_________________________________________________________________
MSN安全保护中心,免费修复系统漏洞,保护MSN安全!
http://im.live.cn/safe/
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders