Ver original<?php$opciones = array( 'http'=>array( 'method'=>"GET", 'header'=>"Content-type: text/xml\r\n", ));$contexto = stream_context_create($opciones);$data = "http://alerts.weather.gov/cap/tx.php?x=1"; $library = file_get_contents($data, false, $contexto); $library = new SimpleXMLElement($library);