[Working with scripts]: Linefeed Into An XML Attribute

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 -

  1. 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”.
  1. 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

Sample of original.zip
Sample of modified.zip