Trim surrounding whitespace from xml content
Merge pull request #2821 from pvlugter/xml-trim

Trim surrounding whitespace from xml content