Return character in mapping dissapears
Situation:
We try to separate records in a mapping using 
 in a node.
<xsl:text>
</xsl:text>
The result will be after saving: <xsl:text/>
How should we configure this to be able to separate records with an enter?
0
-
You are trying to separate the records using new line (
 ; ) in the local template. But whenever you try to open the data mapping after saving, the new line( 
 ;) in the template disappears.
So to achieve your scenario try the following in the template:
<xsl:text xml:space="preserve">
 ;</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.
Comments
1 comment