Hi,

I am just trying to remove blank lines from my generated XML content.

I have a regex as following.

<cfset XMLWrite = ToString(XMLdump)>
<cfset XMLWrite = ReReplaceNoCase(XMLWrite, "[\s]+[#Chr(13)##Chr(10)#]+",
"#Chr(10)#", "ALL")>
<cffile action="write"
file="#getDirectoryFromPath(getTemplatePath())##filename#.xml"
output="#XMLWrite#">

But when I have a content which would be more than 5 MB as XML, I get error
as "500 null" on my CFMX 7.x server.

Any idea?

TIA!


Oguz Demirkapi




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236057
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to