Subject: Re: [PHP] Problem reading SimpleXML array
Richard,
I'm guessing you haven't played with simpleXML ...
(apologies inadvance for any/all mistakes :-)
chances are the var_dump() pointer you gave (which under
normal circumstances would be spot on) will probably
lead to more confusion
On Mon, October 24, 2005 3:50 am, George Pitcher wrote:
Hi,
I'm having a problem reading an xml feed. This is my object:
SimpleXMLElement Object (
[Header] = SimpleXMLElement Object (
[ID] = FX12GB
[Test] = false
[Name] = Foreign Exchange
Richard,
I'm guessing you haven't played with simpleXML ...
(apologies inadvance for any/all mistakes :-)
chances are the var_dump() pointer you gave (which under
normal circumstances would be spot on) will probably
lead to more confusion. to put it lightly SimpleXML
doesn't lend itself to
On Wed, August 24, 2005 3:20 am, Uroš Gruber wrote:
I have XML and I would like to set some values. I almost done the
whole
thing but have some problems when looping through some tags
foo
bar id=1 name=bar1 /
bar id=2 name=bar2 /
...
/foo
I would like to set value for tag bar
Yes, simplexml can do this easily. See:
http://www.php.net/simplexml
Example 7. Setting values
Data in SimpleXML doesn't have to be constant. The object allows
for manipulation of all of its elements.
?php
include 'example.php';
$xml = simplexml_load_string($xmlstr);
5 matches
Mail list logo