Login   Register  
PHP Classes
elePHPant
Icontem

PHP Merge XML: Merge XML sources from strings, files, DOM objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-13 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 291 This week: 2All time: 6,585 This week: 852Up
Version License PHP version Categories  
merge-xml 1.0.2BSD License5.2XML, PHP 5
Description Author  

This class can merge XML sources from strings, files or DOM objects.

It can take a XML document from a string, a file or a DOM object tree and merges with another XML document.

The resulting document can be searched using a XPath query string or returned as a string or a DOM object.

This class provides options to control whether the nodes with the same path or name are replaced or added sequentially.

Innovation Award  
PHP Programming Innovation award nominee
May 2014
Number 5


Prize: One downloadable e-book of choice by O'Reilly
PHP has extensive support to parse and generate XML documents.

This class extends that support by making it easier to merge XML nodes from multiple documents.

Manuel Lemos
Picture of Vallo Reima
Name: Vallo Reima <contact>
Classes: 3 packages by
Country: Estonia Estonia
Age: 57
All time rank: 251710 in Estonia Estonia
Week rank: 302 Up2 in Estonia Estonia Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.html Data Sample output
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Plain text file mergexml.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file test1.xml Data Auxiliary data
Accessible without login Plain text file test2.xml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:291All time:6,585
 This week:2This week:852Up
 User Comments (1)  
 
This is a good class ;-)
3 months ago (Josť Filipe Lopes Santos)
80%StarStarStarStarStar