PHP Classes

DOM Adapter: Access XML documents with DOM API in PHP 4 and 5

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-01-17 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,612 All time: 2,320 This week: 986Up
Version License Categories  
domadapter 1.0GNU General Publi...XML
Description Author  

This package can be used create or parse XML documents using a DOM 2 API implementation.

The API is the same that is provided by PHP 5. This package comes with an adapter that provides a PHP 5 DOM API implementation that works with the PHP 4 DOM API .

Innovation Award  
PHP Programming Innovation award nominee
October 2006
Number 5

Prize: One book of choice by SAMS
DOM is a standard API for manipulating XML documents.

PHP 4 and PHP 5 have extensions that provide access to the DOM API for use in PHP applications. However, these extensions are not compatible.

This class attempts to solve the DOM API compatibility problem, eliminating the need to write application code that handles the differences between the PHP 4 and PHP 5 implementations.

Manuel Lemos
Picture of Diego Feitosa
Name: Diego Feitosa <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 29
All time rank: 39834 in Brazil Brazil
Week rank: 901 Down73 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 1x

 *| DOMAdapter v0.1 - 13 Oct 2006                                         |
 *|  Diego do Nascimento Feitosa                                          |
 *|                                                  |
 *|                                                    |
 *|  São Paulo/SP - Brasil                                                |
 *| DOMAdapter is free software; you can redistribute it and/or modify    |
 *| it under the terms of the GNU General Public License as published by  |
 *| the Free Software Foundation; either version 2 of the License, or     |
 *| (at your option) any later version.                                   |
 *|                                                                       |
 *| DOMAdapter is distributed in the hope that it will be useful, but     |
 *| WITHOUT ANY WARRANTY; without even the implied warranty of            |
 *| General Public License for more details.                              |
 *|                                                                       |
 *| You should have received a copy of the GNU General Public License     |
 *| along with DOMAdapter; if not, write to the Free Software             |
 *| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA              |
 *| 02111-1307  USA                                                       |

== About this class ==
This class enables you to use the PHP5 DOM Functions interface at PHP4. You can switch
between PHP4 and PHP5 without the change of any line in your code.

== Dependencies ==
To use this class, you must have the module 'domxml' loaded at you PHP4 enviroment.
You can find this module at

== Unexpected Behaviors ==
Please, if you find any unexpected behavior, mail me. If you create a patch to solve
this problem, send me, so I can update the class at the repository.

== Features ==
There are some features not implemented yet. I will work at this class and try to finish
a soon as possible.
  Files folder image Files  
File Role Description
Plain text file Class The Adapter Class
Plain text file Class Determines wich version of PHP you are running and create the proper DOM Object
Accessible without login Plain text file README Doc. Notes about the class
Accessible without login Plain text file creation.php Example Creation example
Accessible without login Plain text file example.xml Output Output of the creation.php example
Accessible without login Plain text file movies.xml Data Used in the reading.php example
Accessible without login Plain text file reading.php Example Reading example

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,612All time:2,320
 This week:0This week:986Up