Try putting the following immediately preceding where you are outputting the
XML:

<cfcontent reset="true">

This will reset the output buffer and do away with any whitespace preceding
your XML doc, which is probably what your code is barfing on.

Pete


On 6/1/07, John P <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Does anyone know of a custom tag which you can create an RSS feed from a
> cfquery? I've attempted to use Tom Muck's but I get the follow error.
>
>
> XML Parsing Error: xml declaration not at start of external entity
> Location: http://..../rssTest.cfm
> Line Number 8, Column 1:<?xml version="1.0" ?>
> ^
>
> Thank you,
>
> John
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279941
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to