> I'm thinking of two different options:
> 1. Create a regular variable and put the code directly in there.
> 2. Make use of the XML functions to create the XML object in memory
> and then figure out how to get it to the file.


I would say option 1.  If you are writing to a file there's no need to 
convert to an XML object.

<cfsavecontent variable="myxml">
    <?xml>
        <cfoutput>
            dynamic content here - use XMLFormat to clean out bad xml 
characters
        </cfoutput>
</cfsavecontent>

Then cffile to write the "myxml" string to a file.

-- Josh


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287835
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to