you also need to ensure it is been sent to spry as an xml document If you are using a cfc, set returntype="xml" (not string) or if it is coming from a cfm page use <cfcontent type="text/xml" />
also, ensure there is no white space at the top of the document This, there is nothing before <?xml version="1.0" encoding="UTF-8"?> On 10/19/07, Raymond Camden <[EMAIL PROTECTED]> wrote: > > So what does your XML look like? The message you posted earlier seemed > a bit garbled. > > On 10/18/07, Chad McCue <[EMAIL PROTECTED]> wrote: > > I am using your toXML cfc to generate XML from a query result > > > > -----Original Message----- > > From: Raymond Camden [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 18, 2007 2:05 PM > > To: CF-Talk > > Subject: Re: SPRY XML Problems > > > > Spry doesn't make XML. You make XML and Spry reads it. How are you > > creating the XML? > > > > On 10/18/07, Chad McCue <[EMAIL PROTECTED]> wrote: > > > I am pulling some data from a database, in the database it looks like > > > this > > > > > > level Mechanical/Architectural Draftsman to support... 9/19/2007 until > > > 11/18/2007 Categories: Architectural Service Engineering Job Type: > > > Regular Full/Part Time... J > > > > > > When SPRY loads it and creates the XML it looks like this > > > > > > <SNIPPET>level Mechanical/Architectural Draftsman to support... > > > 9/19/2007 until 11/18/2007 Categories: Architectural Service > > > 276Engineering Job Type: Regular Full/Part Time...</SNIPPET> > > > > > > I am not sure what is causing Engineering to be 276Engineering, it is > > > causing SPRY to errory out. Any one know what this is and how to fix > > it? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291495 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

