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></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:
> >
> >       &lt;wddxPacket
> > version='1.0'&gt;&lt;header/&gt;&lt;data&gt;&lt;struct&gt;&lt;var
> > name='STATUS'&gt;&lt;string&gt;0&lt;/string&gt;&lt;/var&gt;&lt;/struct&gt;
> > &lt;/data&gt;&lt;/wddxPacket&gt;
> >
> > 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:290700
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to