Skip to main content

Return character in mapping dissapears

Comments

1 comment

  • David Paras

    You are trying to separate the records using new line (&#xa ; ) in the local template. But whenever you try to open the data mapping after saving, the new line( &#xa ;) in the template disappears.

    So to achieve your scenario try the following in the template:

    <xsl:text xml:space="preserve">&#xa ;</xsl:text>

     

    There is another solution for achieving this scenario that is by using custom MapperUtilityClass method “*newLineAfter()*” as shown in below example:

    concat(java:MapperUtilityClass.newLineAfter( $Input_Source_Schema/Root/Record/field1 ),$Input_Source_Schema/Root/Record/field2)
    0

Post is closed for comments.