Re: [PHP] Problem with SimpleXML

2005-08-25 Thread Richard Lynch
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 > > > > >... > > > I would like to set value for tag "bar" in some loop and then export > this

Re: [PHP] Problem with SimpleXML

2005-08-24 Thread Jordan Miller
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. movie[0]->characters->character[0]->name = 'Miss Coder'; echo $xml->asXML(); ?> The abov