Thanks Dominic! -----Original Message----- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 1:06 PM To: CF-Talk Subject: Re: cfdump xml doc hanging server
> <cfset xmlfile = xmlparse(cfhttp.filecontent)> > <cfset xmlContent = XMLParse(xmlfile)> Firstly, that second xmlParse appears to be redundant. You are just parsing an already parsed xml doc. Try: <cfset xmlContent = XmlParse(cfhttp.filecontent)> <cfdump var=#xmlContent#> Secondly, that's 321 KB of xml that page is spitting out - dumping that is going to cause most servers a serious headache. If you are just dumping to test, try something like this instead (getting a small portion of the xml and dumping it): <cfset xmlContent = XmlParse(cfhttp.filecontent)> <cfset xpathResults = XmlSearch(xmlContent, '//[EMAIL PROTECTED]"12972"]')> <cfdump var=#xpathResults#> It may still take a while but hopefully it will give you a result because the cfdump isn't having to dump out such a huge load (view the source of a page with a cfdump to appreciate the extra volume of data being spat out) . HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310037 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

