Showing a small snippet of code would probably help with this
question.
Assuming one is using CFML to build the XML data, there are
quite a
few whitespace management tools built into ColdFusion these
days. Some
you may want to investigate are:
<cfprocessingdirective suppresswhitespace="yes">
<cfsetting enablecfoutputonly="yes">
<cfsilent>
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.