<cfhttp ...>

<cfsavecontent variable="fixedXML">
<?xml version="1.0" encoding="utf-8"?>
#cfhttp.fileContent#
</cfsavecontent>

<cfset objXML=xmlParse(variables.fixedXML)>

Rich Ziade wrote:

> I was trying to pull in an MSDN RSS feed and xmlparse() it and it just kept
> breaking. Then I noticed that MS (in their infinite wisdom) doesn't bother
> putting in the XML declaration at the top of their feeds (e.g. <?xml
> version="1.0"?>). View the source here:
>
>
> http://msdn.microsoft.com/mobility/rss.xml
>
>
> Any way around this?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to