Hi all

I recently decided to switch to xml for the configuration of our programs.

I am now looking for a good way to handle that xml data.

Basically, what I am looking for is a functionality where I say

Get tag x with attribute1=y, attribute2=z,..., read its contents and put it in
an associative array.

It should put it in an array like this:

[snip]

Anybody got any ideas?

Never done it, but I'd start here:

http://us3.php.net/manual/en/ref.simplexml.php
http://us3.php.net/manual/en/ref.xml.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to