PHP4 için SimpleXML fonksiyonu ararken diğer yazılmış XML okuyucu classlar dışında pek birşey bulamadım ve en iyisi kendim yazıyım dedim. Nerden başlasam ne etsem derken deneye deneye bu script ortaya çıktı ve PHP5′in simpleXML’i kadar hızlı olmasada aynı işi yapabiliyor. Koda ihtiyacı olanlar için aşağıya ekledim.
Briefly in English:
I wrote a simple script recently that works like simplexml on PHP4 and uses the PHP XML Parser to get local or remote files. It works a little slower than simplexml and maybe we could change foreach to for cycles. and that outputs directly an array not an object so we can use it without any object2array functions.
I moved the codes and the example file to
http://www.phpclasses.org/browse/package/4484.html
so check the address for further updates, bug reports etc.
People who looked at this item also looked at…
Related items








Alexis Rodríguez Ruano on 21 May 2009
Hi, i found a little bug in the class, when a node has “0″ value, the php “count” function return false. i made a diff with the changes, you can download it from http://rapidshare.com/files/235639508/simplexmlAlex.diff.tar.gz
It’s a great class, thumb up for you!
Taha Paksu on 21 May 2009
Thank you Alexis, I’ll test this code and release a new version with that fix.
Taha Paksu on 2 May 2008
tamam canım bişey demedim bende zaten
hatta teşekkürler sitene eklediğin için
krsnsk on 2 May 2008
yorum için teşekkürler.
http://krsnsk.info/index.php?/notlar.html Bölümünde de belirttiğim gibi mesajlarımın bir çoğu bildirgec.org’dan alıntı. “PHP 4 için SimpleXML” bildirgec.org’dan bir alıntı