More info needed but try ...

save it as *.xml
get rid of the cfset and cfcontent

On Thu, 30 May 2002, Andres wrote:

> I'm trying to output an xml page on IE. This is the code i'm using:
> <cfcontent type="text/xml">
> <cfset xmlfeed="<?xml version='1.0' ?> 
> <xml ID='xmlorder'>
>       <order>
>               <order_info>
>                       <order_number>12345678</order_number>
>               </order_info>
>               <item>
>                       <sku>370550657</sku>
>                       <qty>3</qty>
>                       <venid>001</venid>
>                       <item_description>Sign here yellow</item_description>
>                       <sale_price>4.49</sale_price>
>               </item>
>               <item>
>                       <sku>370111091</sku>
>                       <qty>4</qty>
>                       <venid>002</venid>
>                       <item_description>AT&amp;T 964</item_description>
>                       <sale_price>199.99</sale_price>
>               </item>
>               <item>
>                       <sku>370749191</sku>
>                       <qty>1</qty>
>                       <venid>001</venid>
>                       <item_description>HL-1440 Laser Printer</item_description> 
>                       <sale_price>299.99</sale_price>
>               </item>
>       </order>
> </xml>">
> <cfoutput>#xmlfeed#</cfoutput>
> 
> All i get is a blank page. I can see the xml generaged when i view the source of 
>that page.
> 
> Do i need to set other types of content on the cf content tag?
> 
> Thanks for all input!
> 
> Andres
> 
> --------------------------------------------
> Andres Leon
> [EMAIL PROTECTED]
> Vitacost.com
> 2049 High Ridge Road
> Boynton Beach, Fl 33426
> 1.800.793.2601 x 225
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to