My mod of Andrew Bunker's PHP awesome XML library