Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

How to eliminate new line character in XML file

i am creating a XML file , based on join of two tables .
Some times there is extra blank space or new line character in DB , how do i treat it ?
EX: Due to the new line character XML file line is
<L1>Jasper
ETL</L1>
Result should be : <L1>Jasper ETL</L1>
Labels (3)
3 Replies
Anonymous
Not applicable

Hi
You can use tReplace before XML output component to replace extra blank space with double quotation marks(e.g. "") and replace "\n" with double quotation marks(e.g. "").
Regards,
Pedro
janhess
Creator II
Creator II

You may need to replace \r as well.
_AnonymousUser
Specialist III
Specialist III
Author

Hi Pedro and Janhess,
Thanks for the suggestions , Appreciate your help !! 0683p000009MACn.png
Tired your solution , it worked 0683p000009MACn.png