I think you have to use the xml reader in php.