PEAR::Config - reading XML files
| From: | Jeroen Houben | Date: | Thu, 03 Jul 2003 12:31:30 +0000 |
| Subject: | PEAR::Config - reading XML files | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6434@lists.php.net to get a copy of this message | ||
Hi,
I'm just exploring PEAR::Config and here's what I'd like to do. I want to read multiple XML files and put each of them in its own section.
This works with 1 file:
$config = new Config();
$config->parseConfig('views.xml', 'xml');
but how do I parse more XML files in different sections? Can someone point me in the right direction please?
TIA
Jeroen