Posted by ZeldorBlat on 02/24/06 03:49
Skeets wrote:
> i'm using XML to store configuration data within a dynamic structure.
>
> i need to use paths to access the node values because th eitem(x) array
> would mess up as soon as the structure changes.
>
> as i understand it, php5 has no ability to do this out of the box (i've
> spent hours trying).
It does if you compile-in support or load an extension for things like
libxml and libxslt.
>
> i understand XPath can do this, but i've tried the sample code on
> php.net and it breaks with fatal error messages.
It can. And the fatal errors are probably because you haven't compiled
or enabled the appropriate modules.
Navigation:
[Reply to this message]
|