There is also an option in CF administrator to control white space.

JPass

On Fri, Aug 6, 2010 at 2:44 PM, Michael Grant <mgr...@modus.bz> wrote:

>
> 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 <tjo...@acworld.com> 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:336070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to