Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Remove empty elements via XSL

edited Jun 23, 2020 10:01AM in Integration 3 comments

Summary

Remove empty elements via XSL

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!