Not getting the Exact format

Hi, we are creating PDF using a xml document ,but all the paras are mixed and display as single paragraph.all lines are mixed .Please suggest me how to get the exact format.

Please attach the xml document here for testing.

We will investigate it and respond you later.