I know I've looked for this sort of thing before, and I'm not sure why I didnâ€™t find it earlier, but it's just made a tedious task take about 2 minutes. Thanks guys! While I'm sure it's not perfect, it seems to be working well enough for what I needed it to do - basically read data from an XML file in to an array structure. Doesn't simplexml do that already?
The script provides a lot of the functions that PHP5 has to offer in a handy-dandy library to make working with XML in PHP4 a little easier.