Hi!

I have a XML file instead of a ini file.

The XML looks like this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<settings poll="5000" logfile="C:\log.log">
	<option>
		<loglevel>3</loglevel>
		<int>14</int>
		<from>C:\a</from>
		<to>C:\a\old</to>
	</option>
	<option>
		<loglevel>2</loglevel>
		<int>24</int>
		<from>C:\b</from>
		<to>C:\b\old</to>
	</option>
</settings>
Is there a good way of reading this xml into an array?

Cheers!