How are you building the xml file? cffile or cfcontent? What about this...
<cfxml variable="yourXML"> .... </cfxml> <cfset doctype = "<!DOCTYPE Document SYSTEM ""d:\web_apps\xml\DTD-File11152000.dtd"">"> <cffile ... output="#doctype# & #Chr(10)& Chr(13)# & youXML"> Ade -----Original Message----- From: Chris Lee [mailto:[EMAIL PROTECTED] Sent: 14 November 2004 01:05 To: CF-Newbie Subject: XML DOCTYPE problem Hi, I'm working on this XML CFM page that's supposed to output data, including the following DOCTYPE definition: <!DOCTYPE Document SYSTEM "d:\web_apps\xml\DTD-File11152000.dtd"> The rest of the data enclosed in the <cfxml> tag works, but when I add in that line, it spits out the error: "Relative URI "d:\web_apps\xml\DTD-File11152000.dtd"; can not be resolved without a base URI." Now, I realize that it might not be the right syntax, but I just need to get that one line to output in the XML. Any thoughts or suggestions? Thanks in advance, Chris ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:15:482 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
