hello everybody,
currently im need a code can browse to file and display a file content to the screen.
because the input file just have only 1 line, and now i want to display in multi-lines to easy to read it.
Ex file:
001343 <DataPDU xmlns="urn:test:saasd:saa.2.0"><Header><Message><SenderReference>ba3d 7bd26-91d4-46be-ba12-4c1363e36f23</SenderReference><MessageIdentifier>fin.502</MessageIdentifier><Format>MT</Format><Sender><BIC12>BANKCOLLAXXX</BIC12><FullName><X1>BANKCOLLXXX</X1></FullName></Sender><Receiver><BIC12>CORRBEAAXXXX</BIC12><FullName><X1>CORRBEAAXXX</X1></FullName></Receiver><InterfaceInfo><UserReference>TRNREF001MT </UserReference></InterfaceInfo><NetworkInfo><Priority>Normal</Priority><IsNotificationRequested>false</IsNotificationRequested><Service>swift.fin</Service><FINNetworkInfo><CopyService></CopyService><MessageSyntaxVersion>0805</MessageSyntaxVersion></FINNetworkInfo></NetworkInfo><SecurityInfo><IsSigningRequested>fals e</IsSigningRequested></SecurityInfo></Message></Header><Body>DQo6MTZSOkdFTk</Body></DataPDU>
and now i want it'll display as:
SenderReference: ba3d7bd26-91d4-46be-ba12-4c1363e36f23
MessageIdentifier: fin.502
Format: MT
Sender: BANKCOLLAXXX | BANKCOLLXXX
Receiver: CORRBEAAXXXX | CORRBEAAXXX
Service: swift.fin
FINNetworkInfo: CopyService
MessageSyntaxVersion: 0805
Body: DQo6MTZSOkdFTk
----------------
everyone help me
thanks and best regards,