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
[Back to original message]
|