|
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]
|