i want try to delete the empty tag from xmltype. I Have generate the below xml from oracle type. In the collection few elements does not have values so i generated with empty ta
SELECT deletexml(xml_data, '//*[not(text())][not(*)]').getstringval() FROM ( SELECT xmltype(' 9999 S Test Location 08 ' ) xml_data FROM dual )
this is working fine thanks