Sure. Here's the error: An error occured while Parsing an XML document. Reference is not allowed in prolog.
On 10/9/07, Brad Wood <[EMAIL PROTECTED]> wrote: > Can you supply us with the error you are receiving? > > -----Original Message----- > From: Web Exp [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 09, 2007 5:01 PM > To: CF-Talk > Subject: Re: XML Parse > > Well... I don't want to convert this string to a CF struct. I know I > can do that using cfwddx. > In this case I simply want to convert the string into an XML object. > The string again is: > <wddxPacket > version='1.0'><header/><data><struct><var > name='STATUS'><string>0</string></var></struct&g > t;</data></wddxPacket> > > Any ideas anyone? > > On 10/9/07, Rich <[EMAIL PROTECTED]> wrote: > > > i am accessing an external API that returns me the following string: > > > > > > <wddxPacket > > > version='1.0'><header/><data><struct><var > > > > name='STATUS'><string>0</string></var></struct&g > t; > > > </data></wddxPacket> > > > > > > my question is how can i parse the above so that I get an XML object > > > in coldfusion. > > > I tried using XMLParse on this string, but that caused an error. > > > > It appears to be a WDDX packet that is being returned. Check out the > CFWDDX > > tag. http://livedocs.adobe.com/coldfusion/7/htmldocs/00001523.htm > > > > HTH, > > Rich > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:290704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

