PHP Classes

SimpleXML for PHP4: Load XML files in PHP 4 like SimpleXML extension

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (36)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 73%Total: 8,814 All time: 177 This week: 423Down
Version License PHP version Categories
simplexml 1.2MIT/X Consortium ...4.0XML


This class can be used to load XML documents under PHP 4 like PHP 5 SimpleXML extension.

It can load and parse a XML document file like the simple_xml_load function.

The class reorganizes the parsed document nodes to return a document structure identical to the result of the simple_load_file function.

Innovation Award
PHP Programming Innovation award winner
April 2008

Prize: One book of choice by O'Reilly
SimpleXML is an extension that simplifies the parsing and processing of XML documents. However, the SimpleXML extension is available only under PHP 5.

This class provides an alternative implementation of the SimpleXML API that works under PHP 4, so applications that need to run under environments on which only PHP 4 is available can take advantage of the SimpleXML API benefits.

Manuel Lemos
Picture of Taha Paksu
  Performance   Level  
Name: Taha Paksu is available for providing paid consulting. Contact Taha Paksu .
Classes: 3 packages by
Country: Turkey Turkey
Age: 39
All time rank: 1722 in Turkey Turkey
Week rank: 362 Down6 in Turkey Turkey Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example How to use it
Accessible without login Plain text file basic.txt Output Basic Output
Accessible without login Plain text file hard.txt Output Advanced Example
Accessible without login Plain text file howto.txt Doc. Class Usage And Variables
Accessible without login Plain text file intermediate.txt Output Little Harder Example
Accessible without login Plain text file simplexml.class.php Class Main Class File

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:177
This week:423Down
User Ratings User Comments (10)
 All time
Top! Installed and doc readed in 30 seconds.
9 years ago (Olivier)
Thanks this is perfect.
12 years ago (Eric MAMAN)
Thank you!
13 years ago (Diego)
on my project, i open xml from string variable.
14 years ago (Rahmat Subagyo)
thank to you.
14 years ago (strog)
PHP script using the class could be a good exemple ; how to m...
15 years ago (John Smith)
nice and usefull
15 years ago (bytejuice)
Great little script!! You saved my life.
15 years ago (Carlos Tulloch)
Just what I was looking for! With some documentation - this w...
15 years ago (Jack)
For those of us that need a simple XML library that runs on P...
15 years ago (Toni Test)