Create XML parser using Curl + php