Re: Advise on parsing XML

From: Date: Sat, 07 Aug 2004 15:22:24 +0000
Subject: Re: Advise on parsing XML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193084@lists.php.net to get a copy of this message
I assume you are using PHP4's DOMXML functions? If that's the case then you have a bit of a problem. XML support changed between 4.0 and 5.0, we use libxml2 (which supports UTF-8), but the object model / methods changed to better conform with the DOM standard. Also AFAIK the experimental tag has been dropped for PHP5. I reckon that upgrading scripts to work with PHP5 and fixing any bugs that pop up is far easier than writing your own validating XML parser. Hell, even libxml2 doesn't fully support XML Schemas yet.

« previous php.general (#193084) next »