Deleting an xml element This topic contains 3 replies, has 3 voices, and was last updated by figueroa2david 1 year ago. Author Posts June 2, 2017 at 9:08 am #71969 Wei-Yen TanParticipant I have an example of a xml format,....with that I would like to remove the element listed as How can I remove that one element? Thank you for any help. June 2, 2017 at 7:44 pm #72004 Curtis SmithParticipant The post seems to removed a very crucial part of your question. With that said, is seems you just want to know how to remove an element. The below should help. In this example I am removing all Virtual Computer elements from the XML June 2, 2017 at 7:49 pm #72007 Curtis SmithParticipant Results: June 4, 2017 at 5:30 am #72056 figueroa2davidParticipant The easiest way is to select that one XML node, and then: $node.parentnode.removechild($Node) David F. Author Posts You must be logged in to reply to this topic.