Sidebar

How do I remove CR/LF from address fileds in XML ?

0 votes
354 views
asked Aug 22, 2016 by marc-m-9513 (570 points)
edited Aug 22, 2016 by brandon-w-8204
I have been troubleshooting why some CCDs are not able to parse out or be viewed in receiving system, and found in this failed document that there are CR/LF in some of the address fields. How do I remove before sending the message?

 <addr use="WP"><streetAddressLine>102 xxxxxxxxx
Street</streetAddressLine><city>xxxxxxx</city><state>WI</state><postalCode>xxxxx-
3917</postalCode><country>US</country></addr>
...