PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 78 All time: 10,145 This week: 206Up
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: 38
All time rank: 4452104 in The Netherlands The Netherlands
Week rank: 215 Up4 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:78
This week:0
All time:10,145
This week:206Up