>Well, you certainly shouldn't have to clone (assuming the XmlDocument and the NameSpaceManager do not change - but since the method references objects which are external it's a bit difficult to know what else might be going on.
oXmlDocument is initialized at one location. Then, I can use use at several locations. This is one method. I use it to select a single node. This goes in oXmlNode. Then, from oXmlNode, I would like to collect all attributes. This works well on the first run. But, without cloning, on the second run, something was mixing in memory.
oXmlAttributeCollection is only initialized here but it is not used so far. However, the RemoveAll() method might not have been best to initialize it. Maybe as mentioned in the other message I should have used an approach to set it to nothing.