Slava,

>>Depending on the number of child nodes the removeChild method gets
really slow.<<

I may be misreading your problem, but i find the following code works well
to clear out *many* child nodes...

while((c = editLayer.firstChild)!=null) editLayer.removeChild(c);

IIRC, Peter Sorotokin suggests this as the most efficient method.

If this is not the answer you are looking, some code snippets would be
great.

Pete




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to