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: 77 All time: 10,058 This week: 423Up
Version License PHP version Categories
xmlbatchwriter 1.0Free for non-comm...5XML, PHP 5


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: 4435104 in The Netherlands The Netherlands
Week rank: 410 Up8 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  
This week:0
All time:10,058
This week:423Up