Remove empty elements via XSL
SummaryRemove empty elements via XSL
Hello! Has anyone tried to remove/scrub empty elements via XSL in OIC?
We already placed conditional mapping for each element but even with this, some group nodes (e.g. repeating group nodes with empty sub-elements) are still displayed in the transformed message. I'm wondering if there is a way to scrub them by adding a new XSLT implementation that could remove the empty elements or an easier way to do this since we are working with a very large payload schema and putting conditional mapping in each element can be very tedious. A more generic and reusable solution may be needed.