I haven't tested this, but rather just reviewed your code. Assuming that the bold line is causing the problem, I think it should probably be
node.RemoveChild(XmlToRemove[i]);
- Brady My posts are kept as simple as possible for easier understanding. In many cases you can probably optimize or spruce up what I present. Have fun coding!
No comments:
Post a Comment