You are here: Re: XML datas to MySQL database « PHP Programming Language « IT news, forums, messages
Re: XML datas to MySQL database

Posted by Jerry Stuckle on 07/18/05 19:47

Bob Bedford wrote:
> Where to find a comprehensive document on how take datas from XML and
> put them in a Mysql Database.
> I've many sites sending us XML files. We have to parse datas and save
> those datas on Mysql.
>
> The problem is that we have many different file format (each company
> sends us it's own XML structure).
>
> How to provide a simple way to get those datas in Mysql, without having
> to create a new PHP script for every new site's XML ?
>
> Please help.
>
> Bob
>

Bob,

If the XML formats are widely different, you'll probably have to create
different PHP scripts for each one.

The alternative is to build one huge script which would handle all possible
formats. However, that quickly becomes very difficult to manage. If any of the
companies changes their XML format, you'd have to worry about the changes to
your huge script would affect everyone else.

Sometimes it's just simpler to handle different things in different scripts.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация