PHP Classes

PHP Batch XML Attribute Writer: Write XML into multiple files of limited size

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 78 This week: 1All time: 10,115 This week: 560Up
Version License PHP version Categories
xmlbatchwriter 1.0Free for non-comm...5XML, PHP 5
Description 

Author

This class can write XML into multiple files of limited size.

It extends the XML writer class, so when it writes XML documents with a large amount of tags of a given type, it writes the documents to multiple files with a given limit of tag attributes.

The file name for each split document part is defined by a callback function.

Innovation Award
PHP Programming Innovation award nominee
February 2017
Number 5


Prize: PhpStorm IDE 1 year individual subscription
Often XML is used to store information in a format that is portable and is easy to process in different platforms.

However some times the volume of information to store is very large. It may take too much time and memory to process long sets of data inside nested XML document tags.

This class provides a solution to minimize this problem by splitting a XML document in many documents with a limited number of records of a certain type.

Manuel Lemos
Picture of Marten van Urk
  Performance   Level  
Name: Marten van Urk <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: 37
All time rank: 4446104 in The Netherlands The Netherlands
Week rank: 411 Up9 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file XmlBatchWriter.php Class class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:78
This week:1
All time:10,115
This week:560Up