delete?

var xml:XML =
    <body>
        <p>Hello</p>
        <p>World</p>
    </body>;

trace(xml.toXMLString());
delete xml.p[0];
trace(xml.toXMLString());

regards,
Muzak

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 06, 2007 11:16 PM
Subject: [Flashcoders] AS3 replacement for: "XMLNode_Instance.removeNode();"


>
> What is the "E4X" in AS3 for removing a child in an AS3 XML object?
>
> I don't want to use XMLNode_Instance.removeNode() or anything from
> XMLNode class ever again. ;)
>
> --Keith H--
>


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to