$ 0 0 You can replace all empty tags using regular expression.REPLACEALLOCCURRENCESOF REGEX '<\w+/>'IN lv_xml WITH''. /.