You are here: Re: most efficient XML parser for PHP « PHP Language « IT news, forums, messages
Re: most efficient XML parser for PHP

Posted by Anze on 01/22/08 11:04

>> I just realised that I need to validate the XML both to be well formed
>> and valid. I guess with streaming parser I need to process XML twice,
>> first time to check validity and the second time to import data? Or is
>> there a better way?
>
> I'd just optimistically start processing, and if an error occurs, throw
> away the partial results.

I guess I could do that... It is not a banking type of software so there is
no problem if only part of the file is imported. :)

Thanks for the answer and have fun coding!

Anze

 

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

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