https://gist.github.com/weiyentan/536c6ccf73e6012bc856a185bd6b9290
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.
https://gist.github.com/weiyentan/536c6ccf73e6012bc856a185bd6b9290
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.
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
https://gist.github.com/anonymous/59bc54ba14e74d2a88ba64d824099f4c
The easiest way is to select that one XML node, and then:
$node.parentnode.removechild($Node)
David F.