Hi,

Given the following XML snippet
Code:
  <Parent>
    <Child LIID="1" />
    <Child LIID="2" />
    <Child LIID="3" />
    <Child LIID="4" />
    <Child LIID="5" />
  </Parent>
how do I loop through all of the child controls and delete them one by one? I tried using
Code:
For Each ndeChild As XmlNode in ndeParent.ChildNodes
      ndeParent.RemoveChild(ndeChild)
Next
but doing a "RemoveChild" while looping causes the For Each loop to exit on the very first child node. Any ideas?

Thanks!