By default, XML attributes do not allow linefeed. This is an XML feature called “attribute value normalization”. This is a built-in XML specification that is a default setting and cannot be changed.
There are two alternative solutions -
- A solution is to add a linefeed into an attribute value is to use “&10” into the required source code (An example is shown in original.zip).
- original.zip sample contains 3 files including the ds, rml & xml files that present the usage of “&10”.
- A better solution is to set the specific value as an element content (An example is shown in modified.zip)
- modified.zip sample contains 3 files including the ds, rml & xml files that present the usage of element content.
Samples