-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
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?

<cfcontent reset="yes"> is good ( get rid of all previous content )

also xmlFormat() should be used on all fields outputted to an xml file

ie also caches the mime_type for a doc sometimes, try adding a url var
to reset this

zac

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6-2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iEYEARECAAYFAjz2OyoACgkQm98oI6K7h0gAIACgv0aWDbm5xzLsDJU7kvP2UKPv
S6gAnj3vO5PHEHOUsR5LsCfI4FSzYnTR
=mYYe
-----END PGP SIGNATURE-----


______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to