Skip to Content
0
Former Member
Mar 02, 2009 at 05:10 AM

Handling new line character in XML

322 Views

Hi,

Question : How can we specify new line character in xml ?

Explaination for use :

I have a xml structure like :

<?xml version="1.0" encoding="UTF-8"?>

<MT_ISO8583_XML_request>

<TRANSDETAILS>.

.

.

<TRANSACTIONAMOUNT>0000000000000000</TRANSACTIONAMOUNT>

<SYSAUDITNUMBER>225998394671</SYSAUDITNUMBER>

.

.

</TRANSDETAILS>

</MT_ISO8583_XML_request>

I am using Java mapping to convert xml to some satndard flat file format. It works fine for single message.

To handle multiple message i am using Multimapping split. Multimapping needs xml tags in traget structure also to split the message.

To achieve it without BPM, I want to take the whole content of my target file to one tag. When i do this i lost all the new line characters aslo. How can i preserve my new line character using XML ?

Regards

Kulwinder