Why are there missing white spaces when transforming to XML using DFDL

I am using DFDL to transform EDI 997 ACK message to XML messages. In the EDI some of the elements have white spaces in them but when I transform them to XML I do not see the spaces. How can I retain the spaces in the DFDL?

This question and answer are adapted from a problem record that was opened with IIB support.

Related:

Leave a Reply