XML to Text

I am facing an issue in heading allignment when an XML file is parsed to get a notification letter. For example there is a lot of gap between a header and its value.

Its showing like this,

FROM:                                                                                  John Doe

It should show like this,

FROM:        John Doe


I think something is going wrong when XML file is getting converted to text. What could be the possible solution for this.



**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments