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

Posted by Bob Bedford on 07/18/05 19:23

"Jerry Stuckle" <jstucklex@attglobal.net> a écrit dans le message de news:
7fedndgj9MKTUkbfRVn-sQ@comcast.com...
> 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.
Thanks for the advice.
Anyway for my first scripts I had to manage everything manually. Its' there
any class or code that takes out all datas from a XML and put it in a
simpler structure ? maybe an array, that let me create a simpler script ?

Bob

 

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

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