LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing XML Element Not Working

Solved!
Go to solution

The OP have the good method for removing the child node and the issue is probably not there but to know for sure we need to see the whole code (the actual vi and the xml file) not just a picture of two nodes.

 

There is no error because the child node is correctly remove from its parent node "Control". Now the OP need to replace the original control node of the file with this new one (with the child removed). The OP need to go the parent node of the control node and use the replace child method... but I'm only guessing because we have no idea what the actual code looks like.

 

Ben64

 

 

0 Kudos
Message 11 of 13
(1,354 Views)

I have attached the code for that the problem is happening in as well as two SubVI dependencies. 

0 Kudos
Message 12 of 13
(1,350 Views)
Solution
Accepted by topic author jmrapp1

Wow I just realized that one of the wires was wired incorrectly and I was never actually saving the XML file at the end. Added that addition and now it works. Sorry for wasting your time!

0 Kudos
Message 13 of 13
(1,343 Views)