|
Posted by Ian Collins on 03/19/06 13:36
ben wrote:
> Hi,
>
> I'm coding an open project.
> The configuration is stored in an XML file.
> Should I,
>
> 1. parse this XML file with the PHP XML parsing expat library
>
> 2. parse this XML file with an Pear package included
>
> I'm not sure everybody running php 4.x have the XML expat library...
> including a pear package for that could be a solution.
> What do you think ?
>
Use the parser if it is there, depending on how big he XML files is,you
could save significant runtime. Provide a Pear package as a fall-back.
How common is it not to have the XML parser?
--
Ian Collins.
Navigation:
[Reply to this message]
|