PHP Classes

XML2DB: Generate SQL queries to import data from XML files

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: 2,004 All time: 1,963 This week: 455Up
Version License Categories
xml2db 1.0.0GNU General Publi...XML, PHP 5, Databases
Description 

Author

This class can generate SQL queries to import data from XML files into an SQL database table.

It uses the Simple XML extension of PHP 5 to parse XML files from which the data is extracted according to mappings that define which tag data and attributes are used to create the resulting SQL INSERT statements.

Picture of Nico Puhlmann
Name: Nico Puhlmann <contact>
Classes: 2 packages by
Country: Germany Germany

  Files folder image Files (3)  
File Role Description
Plain text file class.xml2db.php Class Main Class
Accessible without login Plain text file example.php Example This file explains how to use and call the class
Accessible without login Plain text file test.xml Data XML Test File for example.php

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:2,004
This week:0
All time:1,963
This week:455Up