Re: SimpleXML
| From: | John Holmes | Date: | Thu, 19 Aug 2004 19:59:10 +0000 |
| Subject: | Re: SimpleXML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194280@lists.php.net to get a copy of this message | ||
> From: Daniel Schierbeck <dasch@ulmail.net>
> I am having some problems with the XML features
> (I use the fancy new SimpleXML). It works like
> a dream when I'm retrieving information from
> an XML document, but when I want to insert new
> tags it screws up.
Someone will correct me if I'm wrong, but I don't think you can add elements to the XML
file in this way. You can change existing values, but cannot add new elements from what I've
seen. It seems pretty intuitive that it would work in the way you describe, so I don't know why
it doesn't.
---John Holmes...
UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html