Skip to Content
0
May 16, 2016 at 09:59 AM

xml file line feed issue in methods

364 Views

<COLLECTION><Release NAME="Release" TYPE="Unknown" STATUS="0">0D 0A

<Transaction> 0D 0A

<TransactionNumber>800001</TransactionNumber>0D 0A

<ReleaseNumber>800001</ReleaseNumber>0D 0A

<PrimaryObjectID>OR:wt.change2.WTChangeOrder2:20160063593:534788860-1193866430993-29816902-52-4-16-172@procom-qa1.harman.com</PrimaryObjectID>0D 0A

<CreatedBy>wcadmin</CreatedBy>0D 0A

<CreatedDate>2015-08-13 09:03:22 UTC</CreatedDate>0D 0A

<Locale>en_GB</Locale>0D 0A

<Destination>1</Destination>0D 0A

</Transaction>0D 0A

Hi ,

Please help me..

As shown above,

How can we achieve above format of xml file with 0D 0A as line feed.

I am using create_element & set_attribute methods for the creation of xml tree.

I am converting excel file data into xml format..

Please guide.

Thanks,

Darshan

Attachments

SS.PNG (13.0 kB)