new 1.xml (904 Bytes)
Hi team ,
In the attached file , I want to check if
wd:Supplier_Invoice_Reference tag exist in the xml ,
If it does , i want to delete it .
Delete whole element -
wd:Supplier_Invoice_Reference
<wd:ID wd:type=“Supplier_Invoice_Reference_ID”>SUPPLIER_INVOICE-6-1456232367</wd:ID>
</wd:Supplier_Invoice_Reference>
I can get it by -
Xdoc.Root.Descendants(Xns + “Supplier_Invoice_Reference”)(0)
But how to check whether it exists or not?
Regards,
Gokul