I would like to know how to remove the empty tag of an xml schema in the expression editor according to a condition. I will brief my requirement. I have a local xml variable as MainSchema in my transaction. I fetch the data using a sql query and populate this xml schema (MainSchema). In case the query is not returning the data for an xml tag, I want to remove that xml tag from the schema. Currently it is displaying empty tags in the schema.
Can any one help me on this?