You can't put cfoutputs inside a tag attribute. It fact you don't ever need to.
Remove them, the #'s in the value attribute will get evaluated. Adrian Building a database of ColdFusion errors at http://cferror.org/ -----Original Message----- From: Phillip M. Vector Sent: 12 November 2008 20:56 To: cf-talk Subject: Sending XML I have some XML to send... Basically, this is what is causing me issues. <cfhttpparam name="xml" type="formfield" value='<cfoutput><?xml version="1.0" ?><?qbmsxml version="2.0"?><QBMSXML><QBMSXMLMsgsRq><CustomerCreditCardAuthRq><TransReque stID>#session.OrderID#</TransRequestID><CreditCardNumber>#session.creditCard Number#</CreditCardNumber><ExpirationMonth>#session.expDateMonth#</Expiratio nMonth><ExpirationYear>#session.expDateYear#</ExpirationYear><IsECommerce>tr ue</IsECommerce><Amount>#session.Total#</Amount><CreditCardAddress>#session. baddress1#</CreditCardAddress><CreditCardPostalCode>#session.bzip#</CreditCa rdPostalCode></CustomerCreditCardAuthRq></QBMSXMLMsgsRq></QBMSXML></cfoutput >' /> This is inside a cfhttp tag. But I keep getting an error. It's probably something basic that I need to do, but I don't know what it is. It's saying I can't have < or > in the value string.. Which makes sense.. So how do I actually send an XML packet if the packet itself is in XML code? Do I have to write it to a file and then send it? That would mean the file is being rewritten for every purchase. Either that, or if anyone has anything that allows me to put a purchase directly into quickbooks, that would help greatly. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

