like this...

<cfsavecontent variable="#fileName#">
<?xml version="1.0" encoding="UTF-8" ?>
<INPUT>
        <USER_INFO login="userName" password="passWord" />
        <REQUEST request_type="NEW" async="T">
                <ORDER_DETAIL equifax_credit_flag="#Equifax#">
                <ORDER_DETAIL experian_credit_flag="#Experian#">
                <ORDER_DETAIL transunion_credit_flag="#TransUnion#">
                <APPLICANT "firstname="#firstName#" surname="#lastName#"
ssn="#ssn#" />
                <CURRENT_ADDRESS "streetnumber="#housenumber#"
streetname="#streetName#" aptnumber="#aptNumber#" city="#city#"
state="#state#" zip="#zip#" />
                <OUTPUT_FORMAT "format_type="XML" />
        </REQUEST>
</INPUT>
</cfsavecontent>


-----Original Message-----
From: Timothy Heald [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 12:24 AM
To: CF-Talk
Subject: RE: cf and xml


Use cfsavecontent wrapped around whatever code you use to generate the
xml
document.  Then use the variable produced as the cffile output.

Tim

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 12:21 AM
To: CF-Talk
Subject: cf and xml


ok, question guys and gals....

i would like to write the contents of an xml document, based on user
input from some form elements.

is the cffile tag what i need to use? so that the structure is what
i am looking for? or is there a better method. i played with it tonight
however i am unable to use cf tags or " quotation marks within the
output
parameter of the cffile tag.  that severely limits what i am able to
create.

can anyone add some insight into this....?

thanks!

tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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