Showing a small snippet of code would probably help with this
Assuming one is using CFML to build the XML data, there are
few whitespace management tools built into ColdFusion these
you may want to investigate are:
And the CF administration settings concerning whitespace.
As well as just building your code to minimize white space.
They all have slightly different caveats and use cases.