cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: xml parsing

From: Michael Roberts <michael_at_vivtek.com>
Date: Fri, 01 Feb 2002 11:06:50 -0500

I have a little library I've been rolling myself for about two years now:

http://www.vivtek.com/wftk/src/xmlapi/

There's also libxml and other such libraries, but I don't know much
about them.

Hope that helps.
Michael

Eric Wood wrote:

>I'm a bit off topic.
>
>I can submit an XML formatted query and get an XML response back from the
>server. All this is possible thanks to curl. Does anyone know of a utility
>to parse a tree element to get a value after I have received the data?
>
>For example,
>$ result=`echo 'xml stuff' | curl --url
>https://www.ups.com/ups.app/xml/Rate -d @-`
>
>Now I need to parse the "$result" variable, but with tags being spilt on
>multiple lines, I really need a hypertext backengine or something.
>
>I know curl is just a transporter and doesn't handle back-end processing.
>
>thanks for pointing me in the right direction.
>-eric wood
>
>
Received on 2002-02-01