Deleting an

This topic contains 2 replies, has 3 voices, and was last updated by  Curtis Smith 5 months, 2 weeks ago.

  • Author
    Posts
  • #71968

    Wei-Yen Tan
    Participant

    I have an example of a xml format,....with that I would like to remove the element listed as such

    How can I remove that one element. Thank you for any help.

  • #72122

    Don Jones
    Keymaster

    You can share XML by posting it as a Gist, and including the Gist URL in your message here.

    Briefly, you need to get a reference to the element you want to remove, and to its parent element. You then tell the parent to remove the child.

  • #72158

    Curtis Smith
    Participant

    @donj, this is a duplicate post that didn't post correctly. It was recreated here "https://powershell.org/forums/topic/deleting-an-xml-element/"

You must be logged in to reply to this topic.