Active Oldest Votes. Removing the node will update the collection, so you should not use a foreach loop. Spooky Spooky 2, 8 8 gold badges 25 25 silver badges 39 39 bronze badges. Using XmlDocument a node is removed from it's parent. Rubens Farias Rubens Farias The enumeration operation failed to continue. Please, try the other version — Rubens Farias. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Descendants "ColumnValues". Remove ; doc. Jon Skeet Jon Skeet 1. Empty; if File. CreateNavigator ; xdoc. ReadToFollowing "Adapter" ; reader. Ranjith Kumar Ranjith Kumar 21 1 1 bronze badge. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Voted to close as a dupe. Add a comment. Active Oldest Votes. Load "input. Attribute "name" where attr! Remove ; doc. Save "output. CreateNode XmlNodeType. CreateAttribute "name" ; xa. CreateAttribute "value" ; xb. Append xa ; newSub. Append xb ; menu. AppendChild newSub ; originalXml. Save path ;. That node.
0コメント