Not sure it is the problem, but I didn't see an xml header...

-----Original Message-----
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:18 AM
To: CF-Talk
Subject: RE: XML output


i'm not sure about that...

i've been using the samples given by SOXML v1.6 XML Interface for Allaire's
ColdFusion. The example of converting cf to xml is a cfm page and yet it
creates the xml code properly.

-----Original Message-----
From: James Maltby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 10:55 AM
To: CF-Talk
Subject: RE: XML output


Yup - your browser will only do this if it has the extension ".xml"....

-----Original Message-----
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 15:56
To: CF-Talk
Subject: RE: XML output


Thanks. It now displays on the browser, but as plain text. The browser still
does not see it as an xml doc and therefore does not allow me to collapse
expand the branches of the xml document.

Any ideas?


-----Original Message-----
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 10:43 AM
To: CF-Talk
Subject: RE: XML output


Try enclosing your XML variable in the <xmp> tags

IE <cfoutput><xmp>#xmlfeed#</xmp></cfoutput>

-----Original Message-----
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 9:46 AM
To: CF-Talk
Subject: XML output

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





______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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