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 Boris Stumm on 01/22/08 07:57

Anze wrote:
>> 1) validate XML before doing anything
>
> 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.

 

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

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