Okay, I wasn't exactly able to get this to work.  What I finally did was go 
into my database and scrub my files of all terrible characters (not a good, 
long-term solution).

So, perhaps I need to figure out how to get the data into the database "clean" 
before I try to write it to an XML file...

Anybody know of a good regex to do that?

Thanks


>> I'm really new to xml---
>>
>> Where exactly are you doing this "cleaning"?
>
>Sorry, I should have been more clear --
>
>What I do is wrap the outputted xml in cfsavecontent, before wrapping the 
>cfxml tag around it.  This results in a string which in my example is 
>"oldxml".  For example:
>
><cfsavecontent variable="oldxml">
>    <cfoutput query="myquery">
>        <item>#item#</item>
>    </cfoutput>
></cfsavecontent>
>
>Then you clean the string "oldxml" and then wrap it with the cfxml tag.
>
>-- Josh
>
>----- Original Message ----- 
>From: "Joel Watson" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[email protected]>
>Sent: Friday, April 06, 2007 12:06 PM
>Subject: Re: CFXML - What am I doing wrong
>
>
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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

Reply via email to