PHP Classes

XML2DB: Generate SQL queries to import data from XML files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   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


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
Age: 48
All time rank: 48228 in Germany Germany
Week rank: 275 Up13 in Germany Germany Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,963
This week:455Up