I have a XML file in unix server. I want to change a file like :
all the empty tags have to be replaced like below example. This is just an example, file can have any number of empty tags with different names.
<abc/>
<xyz>38475938994</xyz>
<def/>
to below file
<abc></abc>
<xyz>38475938994</xyz>
<def></def>