> 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> > </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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290695 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

