Question : removing xml node from database

Hi I have the below code:

when i click a button, i need to check for: machinesettingsid="39"
and if its present remove all of it, i.e:
<cube machinesettingsid="39" number="18" d="0.46" x="88" y="667" z="249" pointX="292" pointY="382" type="Dryer" shake="false" />

The xml data is stored in a table in a feild called XMLoutput, so i need the code to do this

I think LINQ is the neatest way to do this, so could someone from me with the code
thanks
1:
2:
3:
4:
5:
6:
7:
8:
<room>
<walls>
</walls>
<cubes>
<cube machinesettingsid="1" number="1" d="0.46" x="236" y="341" z="144" pointX="385" pointY="268" type="Dryer" shake="false" />
<cube machinesettingsid="39" number="18" d="0.46" x="88" y="667" z="249" pointX="292" pointY="382" type="Dryer" shake="false" />
</cubes>
<view left="-58" top="-142" zoom="0.9" /></room>

Answer : removing xml node from database

You are doing it correctly. VMs have nothing to do with HA...just the hosts, & vCenter to an extent.

~coolsport00
Random Solutions  
 
programming4us programming4us