Try running the resulting output file through an XML validator to see if the XML is in fact, valid?
Taco Fleur wrote: > Hello all, > > I have this problem with parsing XML which I hope someone can shed > some light on. > I'm downloading the XML with cfhttp, I then parse it, and it's fine, > no errors. Then I write it to the filesystem on another machine and > when opening in IE I get the following error; > > > > The XML page cannot be displayed > > Cannot view XML input using XSL style sheet. Please correct the error > and then click the Refresh <javascript:location.reload()> button, or > try again later. > > ------------------------------------------------------------------------ > > An invalid character was found in text content. Error processing > resource 'file:///X:/Data/au_com_sellmystuff/xmlImport/441... > > <Site>AU</Site><Availability>Yes</Availability><Quantity>13</Quantity><Caption><... > > Following is the CF code that writes the file; > <cffile > action="write" > addnewline="no" > file="#variables.filePath#" > output="#trim( cfhttp.fileContent )#" > fixnewline="no"> > > Obviously something goes wrong in the process of saving the file to > the other server, but I can't figure out what? Anyone??? > > -- > *** http://www.clickfind.com.au <http://www.clickfind.com.au> > The new Australian search engine for businesses, products and services > *** Virtual and Dedicated Servers with registered version of > ColdFusion from $350 a month > *** ColdFusion licenses at the lowest price > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---