Could I recommend the <CF_SOXML> custom tag, which is an alternative to
<CF_WDDX>.

This is available via Allaire's tag gallery.

Mike.

-----Original Message-----
From: James Birchler [mailto:[EMAIL PROTECTED]]
Sent: 30 January 2001 01:05
To: CF-Talk
Subject: Regular expression to parse incoming data stream?


I am sending an http request to a server (using <CFHTTP> and <CFHTTPPARAM> )
which is responding with some xml of the form:

<tag>
353
<tag>
<anothertag>
100
</anothertag>

where the numbers are just examples of what comes back. Can anyone give me
an example of what I'd need to do to use regular expressions to parse the
incoming data stream (the server response) to just take out the numbers and
assign them to variables in CF?

I've explored the WDDX solution but it turns out not to be viable in this
case.

Thanks,

James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to