I think you mean whitespace is breaking your xml on lines where your
cfoutputs. If so you have to make sure you don't have any line breaks after
<cfoutput> and before </cfoutput>
So this will break:
<cfoutput>
<myNode>
<mySubNode>data</mySubNode>
</myNode>
</cfoutput>
And this would work:
<cfoutput><myNode>
<mySubNode>data</mySubNode>
</myNode></cfoutput>
On Fri, Aug 6, 2010 at 2:32 PM, Tom Jones <[email protected]> wrote:
>
> Hello,
> I'm creating some xml using cfxml and I'm noticing empty lines in the xml
> result. When I look at the code I can kind of make out the these extra empty
> lines are in locations where i'm using a cfoutput, and cfset tags to help
> create the xml.
>
> How can I clean up the xml so that it looks nice?
>
> thanks,
> tom
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm