Re: Easy way to grab a value out of XML?

From: Date: Fri, 01 Apr 2005 21:11:08 +0000
Subject: Re: Easy way to grab a value out of XML?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212056@lists.php.net to get a copy of this message
If you are using PHP5 check out SimpleXML (http://php.net/simplexml) On Apr 1, 2005 10:53 PM, Brian Dunning <brian@briandunning.com> wrote: > I've been looking at the XML commands and am feeling a bit overwhelmed. > My needs are simple and I'm hoping there's an easy solution that I'm > just missing. I have a hunk of well-formed XML in a variable, $xml, and > it contains only one instance of <price>x.xx</price>. I just want to > get the $price out of $xml. What's the simplest way? > > - Brian > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#212056) next »