I have an XML file that I would like to delete the empty tag <eCode />
from it and then save the XML file.
I have tried deleting it using xdocument but I wasn't able to identify the empty tag. Thanks in advance.
<?xml version="1.0" encoding-"utf-8" 2>
<fa xmlns="http://bmw.com/2005/psdz.data.fa
<header vinlong="SUXTR9G50KLR07426" date-"2023-04-17" time-"00:15:34.0000000+03:00" createdBy=
<standardF A series="G00 1" typekey-"TR93" timecriteria-"03 19" colourcode="0475" fabricCode="MAPQ"
faVersion="3">
<ecodes>
<eCode>A105</eCode>
<ecode>HUTR</eCode>
<eCode />
</ecodes>
</standardF A>
</fa>