You are here: Re: split large xml files « PHP Programming Language « IT news, forums, messages
Re: split large xml files

Posted by Pavel Lepin on 08/13/07 08:24

Michael Fesser <netizen@gmx.de> wrote in
<djvob355g2kinbhgfsgu8kme6tuf8hqhk5@4ax.com>:
> .oO(Pavel Lepin)
>
>><?php
>> error_reporting (E_ALL | E_STRICT) ;
>> define ('MAX_ITEMS' , 3) ; $infoList = array () ;
>> $doc = new DOMDocument () ; $doc->load ('split.xml') ;
>> foreach
>> (
>> $infos = $doc->getElementsByTagName ('info') as $info
>> )
>> $infoList [] = $info->cloneNode (TRUE) ;
>>[...]
>
> Uh ... that's a very unconventional and confusing coding
> style with all these blanks and unexpected line breaks
> hanging around ...

And your point is..?

--
"Patience is a minor form of despair, disguised as
virtue." -- Ambrose Bierce

 

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

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