Yes! That worked and I now have a tidy array to work with. 
Thanks to you both.




-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 03, 2006 10:44 AM
To: CF-Talk
Subject: RE: XML data string

Xmlsearch will not help, if he cannot first xmlparse it into a proper
xml document.

Hmm, after looking at it I think I see why.  An xml document must have
one root level tag.   If you were to do this <cfset xml = "<root>" & xml
& "</root>"> then that might work for your xml parse.

Give it a try.  Once you can parse it into an xml object I agree that
xmlsearch (xpaths) will be the easiest way to get the data out.
Xmlsearch returns an array on xml elements.

~Brad

-----Original Message-----
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 03, 2006 12:25 PM
To: CF-Talk
Subject: Re: XML data string

You want to use xmlSearch() function, you can read up on it below. It
allows
you to search for a specific element

http://www.cfquickdocs.com/?sourceid=cfQDSearch1.02&getDoc=xpath


On 11/3/06, Bascue, Jeremiah <[EMAIL PROTECTED]> wrote:
>
> Hello everyone,
>
>
>
> I need some advice/help. I'm receiving the following data from .NET
> webservice and I need to create a simple list out of it. How would you
> do it? I've tried the XMLparse function, but since it's not properly
> formatted XML that chokes. Any help would be appreciated.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259124
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