You are here: Re: Is there a maximum file size that DOMXML can handle? « PHP Programming Language « IT news, forums, messages
Re: Is there a maximum file size that DOMXML can handle?

Posted by Oli Filth on 11/17/05 18:49

bizt said the following on 17/11/2005 11:37:
> Hi,
>
> I am about to write an app that loads an XML file into memory and then
> outputs it. Anyway, the XML file is likely to grow and grow. Its
> sitting at about 37KB just now and is likely to double every 6 months.
> Should I be concerned?
>

If you are just loading it in and then outputting it, why do you need
DOM XML?

However, DOM parser loads and processes the whole file in memory. So if
you are doing processing, and your XML file is very large (I don't know
what this threshold is), it's generally recommended that you use
event-based parsing, e.g. xml_parser_create(),
xml_set_element_handler(), etc.


--
Oli

 

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

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