Re: Another SimpleXMLElement question...
| From: | Haydar TUNA | Date: | Sat, 24 Mar 2007 05:53:01 +0000 |
| Subject: | Re: Another SimpleXMLElement question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251269@lists.php.net to get a copy of this message | ||
Hello,
This is Simple XML extensions. The SimpleXML extension requires PHP 5!. For
this reason you can only use other XML extensions such as XML parser.:)
--
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
"Mikey" <frak@upcore.net>, haber iletisinde sunlari
yazdi:CD.C0.05767.85524064@pb1.pair.com...
> If at first you don't succeed...
>
> Our production environment is running on an old version of PHP 5.0 and
> cannot be easily updated. My problem is that I have developed code
> against a new version and it has the SimpleXMLElement::addChild()
> function, but this is not present on the older version of PHP.
> Does anyone know how to work around this? Can I just treat the
> SimpleXMLElement object as an array and append as I see fit?
>
> regards,
>
> Mikey