db'den değil ben curl ile alıyorum ama xml parse edilirken sorun meydana geliyor. curl, file_get_contents kullandım yine aynı.