I have a an xml file located at the URL specified, which includes a probability-of-precipitation node, which has several "value" elements whose schema-instance declaration(s) allows them to be nillable. However, the attributes() function in php does not show the XSI declarations of this element.
$feedURL= "http://forecast.weather.gov/MapClick.php?lat=32.78520&lon=-79.99400&FcstType=dwml";
// read feed into SimpleXML object
$wxml = simplexml_load_file($feedURL);
echo $wxml->data->parameters->{'probability-of-precipitation'}->value[0]->attributes();
Is it possible to print 'XSI attributes'?? Thanks