Ramesh P - 2014-06-13

got the solution, we need to traverse top level node by node instead of taking node and traversing and removing.

thanks for not replying.