Here's a really good intro to xml from the macromedia site. it has
code samples on working with xml and cffile.

http://www.macromedia.com/devnet/mx/coldfusion/articles/xmlxslt.pdf


On Thu, 23 Dec 2004 09:00:16 -0600, Jake <[EMAIL PROTECTED]> wrote:
> Ah, very good point.
> 
> So the question that remains then is how to CFFILE create an xml file
> with a .cfm extension that still acts like a .xml?
> 
> Jake
> 
> Dax C. Davis wrote:
> 
> >It is more likely they are pointing to PHP files because they are creating
> >the RRS feed on the fly (so the latest is sent out).  The PHP file is
> >outputting back to the requester the xml...
> >
> >Dax
> >
> >=========================================================
> >N: Dax C. Davis                  T: Senior Vice President
> >C: Imaginuity Interactive, Inc.  P: (214) 413-3264
> >A: 2934 Taylor Street            F: (214) 413-3261
> >   Dallas, Texas 76226 USA       E: [EMAIL PROTECTED]
> >W: http://www.imaginuity.com/
> >=========================================================
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> >Of Jake
> >Sent: Wednesday, December 22, 2004 8:05 PM
> >To: [email protected]
> >Subject: Writing XML files with a .cfm file
> >
> >I'm using CFFILE to write out an XML file on my blog (RSS feeds). I'm using
> >a .xml file extension. I've noticed that many blogs are using file
> >extensions like .php rather than .xml.
> >
> >I assume that this so that they can run the files through the server engine
> >and do stuff... like track clicks and whatnot.
> >
> >Am I correct?
> >
> >I noticed that when I change the CFFILE to write out a .cfm with the same
> >XML content. The feed validates no problem, and displays in IE no problem.
> >But it looks really funky in Firefox, not using the standard XML formatting
> >that FF adds. Any ideas why?
> >
> >Thanks!
> >Jake
> >
> >----------------------------------------------------------
> >To post, send email to [email protected]
> >To unsubscribe:
> >   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> >To subscribe:
> >   http://www.dfwcfug.org/form_MemberRegistration.cfm
> >
> >
> >
> >
> >----------------------------------------------------------
> >To post, send email to [email protected]
> >To unsubscribe:
> >   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> >To subscribe:
> >   http://www.dfwcfug.org/form_MemberRegistration.cfm
> >
> >
> >
> >
> >
> >
> 
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>   http://www.dfwcfug.org/form_MemberRegistration.cfm
> 
>
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to