Where is the comment in the feed, what do I need to parse out? -----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 21 August 2006 10:19 To: CF-Talk Subject: Re: Parsing an XML Feed
The feed has a comment before the XML declaration, so it's not valid XML. You can parse out the comment lines and use what's left as XML. On 8/21/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > When trying to display an RSS feed I am getting the following error > > An error occured while Parsing an XML document. > Content is not allowed in prolog. > > I am using CFMX 7 enterprise, any ideas on what is causing this error? > > ------------code------------- > <cfscript> > URLToPull = "http://www.easycfm.com/syndication/mostviewed.cfm"; > </cfscript> -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250437 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

