Solo e podido consultarlo así:
Código PHP:
if ($sxe = new SimpleXMLElement(file_get_contents ( $ruta_PartNumber ), NULL, false))
{
echo $ruta_PartNumber."<br>";
if ($sxe->{'files.index'}->file['HighPic'])
{
echo "-".$sxe->{'files.index'}->file['HighPic']."<br>";
echo "-".$sxe->{'files.index'}->file['HighPicSize']."<br>";
echo "-".$sxe->{'files.index'}->file['HighPicWidth']."<br>";
echo "-".$sxe->{'files.index'}->file['HighPicHeight']."<br>";
echo "*************************************<br>";
}
return;
}
Como podria hacerlo con foreach? Por si tuviese 2 objetos de xml {files.index->file} o más imagenes?