XML - Clone() & InsertAfter() doubles node?
Posted on 2004-04-23
Anyone have any idea why my code clones a node and then writes it into my document at the specified location twice? Does this sound familiar to anyone?
XmlNode newItem = tempRoot.ChildNodes.Clone();
I have really isolated this problem and feel very certain that the problem arises from how I am using InsertAfter.