How to include indentation / white spaces / tabs in an html that is contained in an xml document

Viewed 18

I have a xml template file that is being used as an email template.

I can't use &emsp in the html body as it indicates as the xml is not valid when I try to load it in. I tried using cdata, but it doesn't adjust the html text. I need to have indentation in the body of the email.

I'm looking for an example of a xml document containing html body which includes indentation / tab / white space.

Also, if someone can point me to reference documents, that would be awesome too.

thanks!

0 Answers
Related