<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="news_rss.xsl"?>

The above code is at the top of an XML feed that I am trying to process. I want 
to remove it, otherwise I get the following error.

Document root element is missing.  
Document root element is missing.  



My code looks like this.
<cfhttp    url="http://www.somewebsite.com/rss/someRss.xml";    method="get">
<cfset myXMLDoc=XMLParse(CFHTTP.FileContent)>

any advise?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:275745
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