Latest CVS :space in removechild
Brought to you by:
bs_php,
nigelswinson
From: Luc Saint-E. <lu...@sa...> - 2002-01-18 08:00:24
|
Hello, A question about latest CVS : if I have <top> <item name="foo" pricetag="expensive"> <item name="foo2" pricetag="expensive"> <item name="foo3" pricetag="expensive"> </top> If I do a removechild() on the first element I'll end with : <top> <item name="foo2" pricetag="expensive"> <item name="foo3" pricetag="expensive"> </top> If I add a new item I'll end with <top> <item name="foo2" pricetag="expensive"> <item name="foo3" pricetag="expensive"> <item name="foo4" pricetag="expensive"> </top> If I suppress foo2 i'll end with <top> <item name="foo3" pricetag="expensive"> <item name="foo4" pricetag="expensive"> </top> An so on......... Is there a way to avoid this growing "hole" and rebuild the list without space ? Luc |